diff options
author | Ulrich Bauer <mail@ulrich-bauer.org> | 2018-05-24 15:47:20 -0400 |
---|---|---|
committer | Ulrich Bauer <mail@ulrich-bauer.org> | 2018-05-24 15:47:20 -0400 |
commit | 38dc1f43136afe004e71d0076b9fa3919e7f68a5 (patch) | |
tree | 3f8dfb0a19794ce09fd570115ac748f03b2e832d | |
parent | a1154088fd2d47320f56839b1c7a0ed87ae35ade (diff) |
using ratio
-rw-r--r-- | ripser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -567,7 +567,7 @@ public: } else { #ifdef PRINT_PERSISTENCE_PAIRS value_t death = get_diameter(pivot); - if (diameter != death) { + if (death > diameter * ratio) { #ifdef INDICATE_PROGRESS std::cout << "\033[K"; #endif |