From c9596839245779792ddf7c8235ab96feecc8aeb8 Mon Sep 17 00:00:00 2001 From: Ulrich Bauer Date: Wed, 30 Nov 2016 14:42:47 -0500 Subject: fix for missing constructor of diameter_entry_t --- ripser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ripser.cpp b/ripser.cpp index efa672e..403516b 100644 --- a/ripser.cpp +++ b/ripser.cpp @@ -548,7 +548,7 @@ public: #ifdef USE_COEFFICIENTS auto coeffs_begin = reduction_coefficients.cbegin(j), coeffs_end = reduction_coefficients.cend(j); #else - std::vector coeffs(0); + std::vector coeffs; coeffs.push_back(columns_to_reduce[j]); for (auto it = reduction_coefficients.cbegin(j); it != reduction_coefficients.cend(j); ++it) coeffs.push_back(*it); -- cgit v1.2.3