diff options
author | Ulrich Bauer <mail@ulrich-bauer.org> | 2016-12-29 16:23:53 +0100 |
---|---|---|
committer | Ulrich Bauer <mail@ulrich-bauer.org> | 2016-12-29 16:23:53 +0100 |
commit | 2158b4a884d1239ede305b7ce91c9f9beeb0668b (patch) | |
tree | 1fb31ae3c59f9ec3f226c8b21d0d1a5fe12dde4c | |
parent | 8b42fb2a7885b0e371ff6b0e1bbe31332ae63adb (diff) |
reordered initializers
-rw-r--r-- | ripser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -422,8 +422,8 @@ public: public: simplex_coboundary_enumerator(const diameter_entry_t _simplex, index_t _dim, const ripser& parent) - : simplex(_simplex), idx_below(get_index(_simplex)), idx_above(0), v(parent.n - 1), k(_dim + 1), modulus(parent.modulus), - binomial_coeff(parent.binomial_coeff), dist(parent.dist), vertices(_dim + 1) { + : idx_below(get_index(_simplex)), idx_above(0), v(parent.n - 1), k(_dim + 1), vertices(_dim + 1), simplex(_simplex), modulus(parent.modulus), dist(parent.dist), + binomial_coeff(parent.binomial_coeff) { parent.get_simplex_vertices(get_index(_simplex), _dim, parent.n, vertices.begin()); } |