Skip to content

Commit

Permalink
Fix packed entry_t structure on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: julian <[email protected]>
  • Loading branch information
julian committed Oct 30, 2020
1 parent f01b528 commit 212066a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ripser/ripser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ std::vector<coefficient_t> multiplicative_inverse_vector(const coefficient_t m)

PACK(struct entry_t {
index_t index : 8 * sizeof(index_t) - num_coefficient_bits;
coefficient_t coefficient : num_coefficient_bits;
index_t coefficient : num_coefficient_bits;
entry_t(index_t _index, coefficient_t _coefficient)
: index(_index), coefficient(_coefficient)
{
Expand Down

0 comments on commit 212066a

Please sign in to comment.