Commit 41a30d84 authored by Thibault Hallouin's avatar Thibault Hallouin
Browse files

fix typo in unit test on masking

resulting in only checking the first metric (i.e. BS) repeatedly
Showing with 1 addition and 1 deletion
+1 -1
...@@ -167,6 +167,6 @@ TEST(ProbabilistTests, TestMasks) ...@@ -167,6 +167,6 @@ TEST(ProbabilistTests, TestMasks)
// check results are identical // check results are identical
for (int m = 0; m < metrics.size(); m++) for (int m = 0; m < metrics.size(); m++)
{ {
EXPECT_TRUE(xt::allclose(metrics_masked[0], metrics_subset[0])); EXPECT_TRUE(xt::allclose(metrics_masked[m], metrics_subset[m]));
} }
} }
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment