summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-04-04 08:11:52 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-04-04 08:11:52 +0000
commitdc1a4ce409292138cf1380ca673a72eaae67675a (patch)
tree6e1bcdf23f6572c4a318c727d192c1a76e2fd0e8 /src/common
parent94c3a7705bf95983e76ff136108bf9846869868b (diff)
Fix max issue on MacOS clang
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@3337 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 89cd68f9abd58a43553d9ca2d54e776374557f26
Diffstat (limited to 'src/common')
-rw-r--r--src/common/include/gudhi/writing_persistence_to_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/include/gudhi/writing_persistence_to_file.h b/src/common/include/gudhi/writing_persistence_to_file.h
index 0e79704b..4c5ce918 100644
--- a/src/common/include/gudhi/writing_persistence_to_file.h
+++ b/src/common/include/gudhi/writing_persistence_to_file.h
@@ -43,7 +43,7 @@ class Persistence_interval_common {
Persistence_interval_common(Filtration_type birth, Filtration_type death)
: birth_(birth),
death_(death),
- dimension_(std::numeric_limits<unsigned>::max),
+ dimension_(std::numeric_limits<unsigned>::max()),
arith_element_(std::numeric_limits<Coefficient_field>::max()) {}
/**