summaryrefslogtreecommitdiff
path: root/src/GudhUI/model
diff options
context:
space:
mode:
authorglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-03-22 14:32:01 +0000
committerglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-03-22 14:32:01 +0000
commitdd0c7df9f71980885ef33ab6abd4878b89b72970 (patch)
treefe13b3c49258ae0f855c0b87a990c6e059524234 /src/GudhUI/model
parent80d76c1ac00dc94c0f9c7450fabbfaa194987fe0 (diff)
parent245a316b04bbf0883f17cc5116fb8f26251aabd4 (diff)
Merge from trunk.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/debian@1068 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 45810d6e9bd355da6f8149a8c48bf13e1e5b80de
Diffstat (limited to 'src/GudhUI/model')
-rw-r--r--src/GudhUI/model/Model.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GudhUI/model/Model.h b/src/GudhUI/model/Model.h
index d78cbad9..07a67a0c 100644
--- a/src/GudhUI/model/Model.h
+++ b/src/GudhUI/model/Model.h
@@ -249,7 +249,7 @@ class Model {
int euler = 0;
int dimension = 0;
Clock clock;
- for (const auto &s : complex_.simplex_range()) {
+ for (const auto &s : complex_.complex_simplex_range()) {
num_simplices++;
dimension = (std::max)(s.dimension(), dimension);
if (s.dimension() % 2 == 0)
@@ -281,7 +281,7 @@ class Model {
unsigned num_simplices = 0;
int euler = 0;
int dimension = 0;
- for (const auto &s : complex_.simplex_range()) {
+ for (const auto &s : complex_.complex_simplex_range()) {
num_simplices++;
dimension = (std::max)(s.dimension(), dimension);
if (s.dimension() % 2 == 0)
@@ -328,7 +328,7 @@ class Model {
void save_complex_in_file_for_chomp() {
std::ofstream file;
file.open("chomp.sim");
- for (const auto &s : complex_.simplex_range()) {
+ for (const auto &s : complex_.complex_simplex_range()) {
bool first = true;
file << "(";
for (auto x : s) {