diff options
author | Arnur Nigmetov <nigmetov@tugraz.at> | 2020-01-14 16:17:43 +0100 |
---|---|---|
committer | Arnur Nigmetov <nigmetov@tugraz.at> | 2020-01-14 16:17:43 +0100 |
commit | ce3a42a493f63eb5b23e8a293bf995abaa1cb9e8 (patch) | |
tree | a14946cf930882753dedda34e45fd87addc69c9c /matching/src/simplex.cpp | |
parent | 185378614231d1f4b04cf72ec785896cbdd43e39 (diff) |
Interim: matching distance for modules
1. Templatize DistanceCalculator (DiagramProvider)
2. Add BifiltrationProxy with the same interface as ModulePresentation
(dimension fixed).
3. Call Hera with relative error.
4. Add class ModulePresentation.
To-Do: reading module presentations from Rivet format.
Diffstat (limited to 'matching/src/simplex.cpp')
-rw-r--r-- | matching/src/simplex.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/matching/src/simplex.cpp b/matching/src/simplex.cpp index c5cdd25..661dcb1 100644 --- a/matching/src/simplex.cpp +++ b/matching/src/simplex.cpp @@ -57,8 +57,7 @@ namespace md { void Simplex::translate(Real a) { - pos_.x += a; - pos_.y += a; + pos_.translate(a); } void Simplex::init_rivet(std::string s) |