From 3a1ff214fa33cba713f5a00ee13bfd0cebb0865f Mon Sep 17 00:00:00 2001 From: Ulrich Bauer Date: Thu, 15 Sep 2016 20:41:12 +0200 Subject: removed unneccesary check in file reader --- ripser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ripser.cpp b/ripser.cpp index 5568f32..9d8aa04 100644 --- a/ripser.cpp +++ b/ripser.cpp @@ -715,7 +715,7 @@ compressed_lower_distance_matrix read_point_cloud(std::istream& input_stream) { for (int i = 0; i < n; ++i) for (int j = 0; j < i; ++j) - if (i > j) distances.push_back(eucl_dist(i, j)); + distances.push_back(eucl_dist(i, j)); return compressed_lower_distance_matrix(std::move(distances)); } -- cgit v1.2.3