From 31a18897fb52e4e98faed5562e6b97da1e024b4c Mon Sep 17 00:00:00 2001 From: Ulrich Bauer Date: Sat, 7 Jan 2017 00:31:25 +0100 Subject: move --- ripser.cpp | 4 ++-- 1 file 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(std::move(dist), dim_max, threshold, modulus) .compute_barcodes(); else - ripser(sparse_distance_matrix(dist, threshold), dim_max, threshold, - modulus) + ripser(sparse_distance_matrix(std::move(dist), threshold), dim_max, + threshold, modulus) .compute_barcodes(); } -- cgit v1.2.3