summaryrefslogtreecommitdiff
path: root/src/GudhUI/model/Model.h
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-11-23 16:35:23 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-11-23 16:35:23 +0000
commitb3c3e0d75c717dbd94caf96c9ba827fb17b4d5b3 (patch)
treed4e706c81d54f54438aa681cd666e3854a80a37b /src/GudhUI/model/Model.h
parentfe78c077b00e91b3d316f1d64541008a615664e7 (diff)
parent061e43a2a48525bc5a69482a1ea80f20ff505e55 (diff)
Backmerge of trunk
Add alpha complex in bibtex git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@929 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: c8975be439b3e9e91d1fd6ad988db12c75d0395b
Diffstat (limited to 'src/GudhUI/model/Model.h')
-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 4f8d48ee..99a82eba 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) {