diff options
author | Arnur Nigmetov <a.nigmetov@gmail.com> | 2017-04-24 16:49:37 +0600 |
---|---|---|
committer | Arnur Nigmetov <a.nigmetov@gmail.com> | 2017-04-24 16:49:37 +0600 |
commit | bd3300343726981dbb7b7f45d1cabc9d781e28a1 (patch) | |
tree | 1ea381d8265df271fb4215f75ae8b301253d2c18 /geom_bottleneck | |
parent | 0d3a01257675ee637c09046c739eaa235984b515 (diff) |
Empty diagram bug for Wasserstein fixed
Diffstat (limited to 'geom_bottleneck')
-rw-r--r-- | geom_bottleneck/bottleneck/src/bottleneck.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/geom_bottleneck/bottleneck/src/bottleneck.cpp b/geom_bottleneck/bottleneck/src/bottleneck.cpp index da0c425..82fdcfe 100644 --- a/geom_bottleneck/bottleneck/src/bottleneck.cpp +++ b/geom_bottleneck/bottleneck/src/bottleneck.cpp @@ -208,8 +208,8 @@ std::pair<double, double> bottleneckDistApproxIntervalHeur(DiagramPointSet& A, D DiagramPointSet sampledA, sampledB; sampleDiagramForHeur(A, sampledA); sampleDiagramForHeur(B, sampledB); - //std::cout << "A : " << A.size() << ", sampled: " << sampledA.size() << std::endl; - //std::cout << "B : " << B.size() << ", sampled: " << sampledB.size() << std::endl; + std::cout << "A : " << A.size() << ", sampled: " << sampledA.size() << std::endl; + std::cout << "B : " << B.size() << ", sampled: " << sampledB.size() << std::endl; std::pair<double, double> initGuess = bottleneckDistApproxInterval(sampledA, sampledB, epsilon); //std::cout << "initial guess: " << initGuess.first << ", " << initGuess.second << std::endl; return bottleneckDistApproxIntervalWithInitial(A, B, epsilon, initGuess); |