diff options
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) |