diff options
author | Gard Spreemann <gspr@nonempty.org> | 2021-08-14 18:32:59 +0200 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2021-08-14 18:32:59 +0200 |
commit | 66702d9cf122703964dbe22319ae8d97424d496f (patch) | |
tree | 08681d5c5b5878ed4283d5fba2cbb8f4612dbf7c /matching/include/matching_distance.hpp | |
parent | 069338dfb03b4d04c1410b3e24b762b18db5c233 (diff) | |
parent | 2ed9afc052bee7956f6abb195947de1f80cb9d91 (diff) |
Merge branch 'upstream/latest' into dfsg/latest
Diffstat (limited to 'matching/include/matching_distance.hpp')
-rw-r--r-- | matching/include/matching_distance.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/matching/include/matching_distance.hpp b/matching/include/matching_distance.hpp index f7f44a5..9beab1f 100644 --- a/matching/include/matching_distance.hpp +++ b/matching/include/matching_distance.hpp @@ -362,6 +362,7 @@ namespace md { // TODO: think about this - how to call Hera auto dgm_a = module_a_.weighted_slice_diagram(line); auto dgm_b = module_b_.weighted_slice_diagram(line); + R result; if (params_.hera_epsilon > static_cast<R>(0)) { result = hera::bottleneckDistApprox(dgm_a, dgm_b, params_.hera_epsilon) / ( params_.hera_epsilon + 1); |