summaryrefslogtreecommitdiff
path: root/matching/include/persistence_module.h
diff options
context:
space:
mode:
authorArnur Nigmetov <nigmetov@tugraz.at>2020-03-07 08:44:20 +0100
committerArnur Nigmetov <nigmetov@tugraz.at>2020-03-07 08:44:20 +0100
commit490fed367bb97a96b90caa6ef04265c063d91df1 (patch)
tree0e3da694012f399b85fa8ea6e064633b092877ad /matching/include/persistence_module.h
parent5ebf7142b00554b3f5d151c8b4e81b746962a5b8 (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.h2
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; }