Skip to content

Commit

Permalink
Fix test_MC
Browse files Browse the repository at this point in the history
  • Loading branch information
dannys4 committed Mar 7, 2024
1 parent 49c2266 commit fecf617
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Test_MonotoneComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,8 @@ TEST_CASE("Testing MonotoneComponent CoeffGrad and LogDeterminantCoeffGrad", "[M
SECTION("DiagonalCoeffIndices") {
std::vector<unsigned int> indices = comp.DiagonalCoeffIndices();
std::vector<unsigned int> indices_ref = expansion.NonzeroDiagonalEntries();
REQUIRE(indices == indices_ref);
bool same_indices = indices == indices_ref;
REQUIRE(same_indices);
}
}

Expand Down

0 comments on commit fecf617

Please sign in to comment.