summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Bauer <mail@ulrich-bauer.org>2017-01-07 00:31:25 +0100
committerUlrich Bauer <mail@ulrich-bauer.org>2017-01-07 00:31:25 +0100
commit31a18897fb52e4e98faed5562e6b97da1e024b4c (patch)
treef25ef43f290da74475823685cc5b8e576bbfadbf
parentf3de661d1a4dbfc12221f7f2cf7e31d7498e07ef (diff)
move
-rw-r--r--ripser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ripser.cpp b/ripser.cpp
index 701ba35..fbbd345 100644
--- a/ripser.cpp
+++ b/ripser.cpp
@@ -1071,8 +1071,8 @@ int main(int argc, char** argv) {
ripser<compressed_lower_distance_matrix>(std::move(dist), dim_max, threshold, modulus)
.compute_barcodes();
else
- ripser<sparse_distance_matrix>(sparse_distance_matrix(dist, threshold), dim_max, threshold,
- modulus)
+ ripser<sparse_distance_matrix>(sparse_distance_matrix(std::move(dist), threshold), dim_max,
+ threshold, modulus)
.compute_barcodes();
}