diff options
author | Ulrich Bauer <mail@ulrich-bauer.org> | 2016-09-15 20:53:13 +0200 |
---|---|---|
committer | Ulrich Bauer <mail@ulrich-bauer.org> | 2016-09-15 20:53:13 +0200 |
commit | 9f81b0f020b858fe95a10d35e984e37ff6d70175 (patch) | |
tree | 8173c91ce048f7f6bd8bfe6dadc7fbd01686d0db | |
parent | 1ae58195ed01700ebe1cb0ece116be3c27a59faa (diff) |
explicit word sizes for index_t and coefficient_t
-rw-r--r-- | ripser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |