diff options
author | mcarrier <mcarrier@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-04-12 15:22:45 +0000 |
---|---|---|
committer | mcarrier <mcarrier@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-04-12 15:22:45 +0000 |
commit | 905be209a0e62121c125c37e01f4d2eae5aa606d (patch) | |
tree | de48475b4c0e45936f6cc2b655851f0cbc552fbc /src/Persistence_representations/include/gudhi/common_persistence_representations.h | |
parent | 860fa7d916cb591cb0b016b046077d5333570731 (diff) |
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/kernels@3378 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 7cd9f2ae7c9da5d525bdb76a00ffac1359a47da7
Diffstat (limited to 'src/Persistence_representations/include/gudhi/common_persistence_representations.h')
-rw-r--r-- | src/Persistence_representations/include/gudhi/common_persistence_representations.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Persistence_representations/include/gudhi/common_persistence_representations.h b/src/Persistence_representations/include/gudhi/common_persistence_representations.h index 44e125a7..90f2626d 100644 --- a/src/Persistence_representations/include/gudhi/common_persistence_representations.h +++ b/src/Persistence_representations/include/gudhi/common_persistence_representations.h @@ -26,11 +26,13 @@ #include <utility> #include <string> #include <cmath> +#include <boost/math/constants/constants.hpp> 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>(); // double epsi = std::numeric_limits<double>::epsilon(); double epsi = 0.000005; |