diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-11-07 16:45:28 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-11-07 16:45:28 +0100 |
commit | ea296b4a93c37b0e19d4605c1be3e950ed8cd3c2 (patch) | |
tree | 34e8d1fca4f3a21f3db1314a7224d3b45ab18038 /src/Alpha_complex/include | |
parent | 98469d9e80a881ab4dae6358b7a7e64ce90784b2 (diff) |
Code review: it is with Epeck_d that it is advised to have CGAL >= 5.0. Error message clarification
Diffstat (limited to 'src/Alpha_complex/include')
-rw-r--r-- | src/Alpha_complex/include/gudhi/Alpha_complex.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex.h b/src/Alpha_complex/include/gudhi/Alpha_complex.h index 22e17226..9aa30383 100644 --- a/src/Alpha_complex/include/gudhi/Alpha_complex.h +++ b/src/Alpha_complex/include/gudhi/Alpha_complex.h @@ -50,8 +50,8 @@ namespace Gudhi { namespace alpha_complex { -template<typename D> struct Is_Epick_D { static const bool value = false; }; -template<typename D> struct Is_Epick_D<CGAL::Epick_d<D>> { static const bool value = true; }; +template<typename D> struct Is_Epeck_D { static const bool value = false; }; +template<typename D> struct Is_Epeck_D<CGAL::Epeck_d<D>> { static const bool value = true; }; /** * \class Alpha_complex Alpha_complex.h gudhi/Alpha_complex.h @@ -191,8 +191,9 @@ class Alpha_complex { template<typename InputPointRange > void init_from_range(const InputPointRange& points) { #if CGAL_VERSION_NR < 1050000000 - if (Is_Epick_D<Kernel>::value) - std::cerr << "It is strongly advised to use a CGAL version from 5.0 for performance reasons." << std::endl; + if (Is_Epeck_D<Kernel>::value) + std::cerr << "It is strongly advised to use a CGAL version >= 5.0 with Epeck_d Kernel for performance reasons." + << std::endl; #endif auto first = std::begin(points); |