diff options
author | skachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-12-16 16:58:38 +0000 |
---|---|---|
committer | skachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-12-16 16:58:38 +0000 |
commit | 7f5d6edb13f0c15bf85552984f3f6930fb810711 (patch) | |
tree | 2570bf9676d1f2c1f4fe134edeafa04de7d37db6 /src/Witness_complex/include | |
parent | e36bb3953817d9aa3b1baaa61e51cee4099787b9 (diff) |
I'm almost there...
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/relaxed-witness@1908 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: a3f2a7ccf38672e51462d2ce42056d82b675d45a
Diffstat (limited to 'src/Witness_complex/include')
-rw-r--r-- | src/Witness_complex/include/gudhi/Strong_witness_complex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Witness_complex/include/gudhi/Strong_witness_complex.h b/src/Witness_complex/include/gudhi/Strong_witness_complex.h index 5f9db5a4..4b39704e 100644 --- a/src/Witness_complex/include/gudhi/Strong_witness_complex.h +++ b/src/Witness_complex/include/gudhi/Strong_witness_complex.h @@ -192,7 +192,7 @@ private: if (dim > 0) while (curr_it != vertices.end()) { simplex.push_back(*curr_it); - typename typeVectorVertex::iterator next_it = curr_it++; + typename typeVectorVertex::iterator next_it = ++curr_it; add_all_faces_of_dimension(dim-1, vertices, next_it, @@ -209,7 +209,7 @@ private: } else if (dim == 0) { simplex.push_back(aw_it->first); - sc.insert_simplex(simplex, aw_it->second); + sc.insert_simplex_and_subfaces(simplex, aw_it->second); simplex.pop_back(); } } |