diff options
author | Arnur Nigmetov <nigmetov@tugraz.at> | 2020-03-07 08:44:20 +0100 |
---|---|---|
committer | Arnur Nigmetov <nigmetov@tugraz.at> | 2020-03-07 08:44:20 +0100 |
commit | 490fed367bb97a96b90caa6ef04265c063d91df1 (patch) | |
tree | 0e3da694012f399b85fa8ea6e064633b092877ad /matching/include/persistence_module.h | |
parent | 5ebf7142b00554b3f5d151c8b4e81b746962a5b8 (diff) |
Fix multiple bugs in matching distance for modules, add example.
Diffstat (limited to 'matching/include/persistence_module.h')
-rw-r--r-- | matching/include/persistence_module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matching/include/persistence_module.h b/matching/include/persistence_module.h index e99771f..4a261bb 100644 --- a/matching/include/persistence_module.h +++ b/matching/include/persistence_module.h @@ -47,7 +47,7 @@ namespace md { IndexVec components_; Relation() {} - Relation(const Point<Real>& _pos, const IndexVec& _components); + Relation(const Point<Real>& _pos, const IndexVec& _components) : position_(_pos), components_(_components) {} Real get_x() const { return position_.x; } Real get_y() const { return position_.y; } |