From 454558fecf99cee350eb7d3f81a149c647805c16 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Mon, 12 Dec 2016 13:08:22 +0000 Subject: Use (std::numeric_limits::max) to fix Windows global min max git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/tangential_test@1853 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 970c2190f89a6f11712edc07c1980ce0cbdb486b --- src/Tangential_complex/benchmark/benchmark_tc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Tangential_complex') diff --git a/src/Tangential_complex/benchmark/benchmark_tc.cpp b/src/Tangential_complex/benchmark/benchmark_tc.cpp index 943fcb54..6d6dd548 100644 --- a/src/Tangential_complex/benchmark/benchmark_tc.cpp +++ b/src/Tangential_complex/benchmark/benchmark_tc.cpp @@ -161,7 +161,7 @@ typename Kernel, typename OutputIteratorPoints> bool load_points_from_file( const std::string &filename, OutputIteratorPoints points, - std::size_t only_first_n_points = std::numeric_limits::max()) { + std::size_t only_first_n_points = (std::numeric_limits::max)()) { typedef typename Kernel::Point_d Point; std::ifstream in(filename); @@ -196,7 +196,7 @@ bool load_points_and_tangent_space_basis_from_file( OutputIteratorPoints points, OutputIteratorTS tangent_spaces, int intrinsic_dim, - std::size_t only_first_n_points = std::numeric_limits::max()) { + std::size_t only_first_n_points = (std::numeric_limits::max)()) { typedef typename Kernel::Point_d Point; typedef typename Kernel::Vector_d Vector; -- cgit v1.2.3