summaryrefslogtreecommitdiff
path: root/ripser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ripser.cpp')
-rw-r--r--ripser.cpp2
1 files changed, 1 insertions, 1 deletions
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<diameter_entry_t> coeffs(0);
+ std::vector<diameter_entry_t> 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);