diff options
author | Ulrich Bauer <mail@ulrich-bauer.org> | 2016-09-15 20:41:12 +0200 |
---|---|---|
committer | Ulrich Bauer <mail@ulrich-bauer.org> | 2016-09-15 20:41:12 +0200 |
commit | 3a1ff214fa33cba713f5a00ee13bfd0cebb0865f (patch) | |
tree | dd64c59c90785b1e297e3264c974f6e29bb718eb | |
parent | 3f9fc342fef7a898b9242d39bd14ff4122c4036b (diff) |
removed unneccesary check in file reader
-rw-r--r-- | ripser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); } |