summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Bauer <mail@ulrich-bauer.org>2016-12-29 19:26:55 +0100
committerUlrich Bauer <mail@ulrich-bauer.org>2016-12-29 19:26:55 +0100
commitb945df6609d9198c34a982e70dee0773ee630897 (patch)
treec0ff381f82a367eebb791b9d41308a63740a82e3
parent40a6b988a4e1abd2300d05ea1522778364f5a24d (diff)
reordered initializers
-rw-r--r--ripser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ripser.cpp b/ripser.cpp
index 49ff6a8..3054441 100644
--- a/ripser.cpp
+++ b/ripser.cpp
@@ -508,8 +508,8 @@ public:
public:
simplex_sparse_coboundary_enumerator(const diameter_entry_t _simplex, index_t _dim,
const ripser& _parent)
- : parent(_parent), simplex(_simplex), idx_below(get_index(_simplex)), idx_above(0),
- v(parent.n - 1), k(_dim + 1), max_vertex_below(parent.n - 1), modulus(parent.modulus),
+ : parent(_parent), idx_below(get_index(_simplex)), idx_above(0),
+ v(parent.n - 1), k(_dim + 1), max_vertex_below(parent.n - 1), simplex(_simplex), modulus(parent.modulus),
dist(parent.dist), binomial_coeff(parent.binomial_coeff), vertices(parent.vertices),
neighbor_it(parent.neighbor_it), neighbor_end(parent.neighbor_end) {