summaryrefslogtreecommitdiff
path: root/src/Bipartite_graphs_matching/include/gudhi/Internal_point.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Bipartite_graphs_matching/include/gudhi/Internal_point.h')
-rw-r--r--src/Bipartite_graphs_matching/include/gudhi/Internal_point.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bipartite_graphs_matching/include/gudhi/Internal_point.h b/src/Bipartite_graphs_matching/include/gudhi/Internal_point.h
index 6c9389b7..3dc37962 100644
--- a/src/Bipartite_graphs_matching/include/gudhi/Internal_point.h
+++ b/src/Bipartite_graphs_matching/include/gudhi/Internal_point.h
@@ -42,7 +42,7 @@ struct Internal_point {
double& y() { return vec[ 1 ]; }
bool operator==(const Internal_point& p) const
{
- return (x() == p.x()) && (y() == p.y()) && (point_index==p.point_index);
+ return point_index==p.point_index;
}
bool operator!=(const Internal_point& p) const { return ! (*this == p); }
/*