summaryrefslogtreecommitdiff
path: root/matching/src/tests/test_matching_distance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'matching/src/tests/test_matching_distance.cpp')
-rw-r--r--matching/src/tests/test_matching_distance.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/matching/src/tests/test_matching_distance.cpp b/matching/src/tests/test_matching_distance.cpp
index a54e18e..caf32cd 100644
--- a/matching/src/tests/test_matching_distance.cpp
+++ b/matching/src/tests/test_matching_distance.cpp
@@ -37,7 +37,10 @@ TEST_CASE("Different bounds", "[bounds]")
CalculationParams params;
params.initialization_depth = 2;
- DistanceCalculator calc(bif_a, bif_b, params);
+ BifiltrationProxy bifp_a(bif_a, params.dim);
+ BifiltrationProxy bifp_b(bif_b, params.dim);
+
+ DistanceCalculator<BifiltrationProxy> calc(bifp_a, bifp_b, params);
// REQUIRE(calc.max_x_ == Approx(max_x));
// REQUIRE(calc.max_y_ == Approx(max_y));