From b2f3d32845b9e3dac752311fbd3b750d8b6ba030 Mon Sep 17 00:00:00 2001 From: mcarrier Date: Thu, 3 May 2018 15:54:01 +0000 Subject: git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/kernels@3412 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 612ea7ce6d4d5d743e606f9d7b443e21b25d8034 --- .../include/gudhi/common_persistence_representations.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/Persistence_representations/include') diff --git a/src/Persistence_representations/include/gudhi/common_persistence_representations.h b/src/Persistence_representations/include/gudhi/common_persistence_representations.h index 884fce58..1960e370 100644 --- a/src/Persistence_representations/include/gudhi/common_persistence_representations.h +++ b/src/Persistence_representations/include/gudhi/common_persistence_representations.h @@ -28,6 +28,15 @@ #include #include + + +namespace Gudhi { +namespace Persistence_representations { +// this file contain an implementation of some common procedures used in Persistence_representations. + +static constexpr double pi = boost::math::constants::pi(); + + /** * In this module, we use the name Persistence_diagram for the representation of a diagram in a vector of pairs of two double. */ @@ -37,13 +46,6 @@ using Persistence_diagram = std::vector >; * In this module, we use the name Weight for the representation of a function taking a pair of two double and returning a double. */ using Weight = std::function) >; - -namespace Gudhi { -namespace Persistence_representations { -// this file contain an implementation of some common procedures used in Persistence_representations. - -static constexpr double pi = boost::math::constants::pi(); - // double epsi = std::numeric_limits::epsilon(); double epsi = 0.000005; -- cgit v1.2.3