summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ripser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ripser.cpp b/ripser.cpp
index 6241eb3..600315b 100644
--- a/ripser.cpp
+++ b/ripser.cpp
@@ -46,8 +46,8 @@ template <class Key, class T> class hash_map : public std::unordered_map<Key, T>
typedef float value_t;
// typedef uint16_t value_t;
-typedef long index_t;
-typedef short coefficient_t;
+typedef int64_t index_t;
+typedef int16_t coefficient_t;
class binomial_coeff_table {
std::vector<std::vector<index_t>> B;