diff options
author | Ulrich Bauer <mail@ulrich-bauer.org> | 2019-07-02 11:06:16 +0200 |
---|---|---|
committer | Ulrich Bauer <mail@ulrich-bauer.org> | 2019-07-02 11:06:16 +0200 |
commit | 4e2129b11a4dc491f218bc9840d1f19eb898a391 (patch) | |
tree | 2a0359117ba8b2c65453fb4741f02e1d538ebf19 | |
parent | d9ff05f213a63add6d7cb43f69e63b6d84905177 (diff) |
fixed google hash map support
-rw-r--r-- | ripser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -108,6 +108,7 @@ struct __attribute__((packed)) entry_t { coefficient_t coefficient; entry_t(index_t _index, coefficient_t _coefficient) : index(_index), coefficient(_coefficient) {} + entry_t(index_t _index) : index(_index), coefficient(0) {} entry_t() : index(0), coefficient(0) {} }; |