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 9e291ca..9e2aa90 100644
--- a/ripser.cpp
+++ b/ripser.cpp
@@ -928,7 +928,7 @@ int main(int argc, char** argv) {
file_format format = DISTANCE_MATRIX;
index_t dim_max = 1;
- value_t threshold = std::numeric_limits<value_t>::infinity();
+ value_t threshold = std::numeric_limits<value_t>::max();
float ratio = 1;