summaryrefslogtreecommitdiff
path: root/src/common/include/gudhi/Points_off_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/include/gudhi/Points_off_io.h')
-rw-r--r--src/common/include/gudhi/Points_off_io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/include/gudhi/Points_off_io.h b/src/common/include/gudhi/Points_off_io.h
index 29af8a8a..2104b411 100644
--- a/src/common/include/gudhi/Points_off_io.h
+++ b/src/common/include/gudhi/Points_off_io.h
@@ -85,7 +85,7 @@ class Points_off_visitor_reader {
std::cout << std::endl;
#endif // DEBUG_TRACES
// Fill the point cloud
- point_cloud.push_back(Point_d(point.begin(), point.end()));
+ point_cloud.push_back(Point_d(point.end() - point.begin(), point.begin(), point.end()));
}
// Off_reader visitor maximal_face implementation - Only points are read