summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ripser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripser.cpp b/ripser.cpp
index 0edf97f..a191817 100644
--- a/ripser.cpp
+++ b/ripser.cpp
@@ -303,7 +303,7 @@ public:
return true;
}
- return (a_diam == b_diam) && (a > b);
+ return (a_diam == b_diam) && (a < b);
}
template <typename Entry>