diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2021-06-07 17:59:27 +0200 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2021-06-07 17:59:27 +0200 |
commit | 3a06eff2f6345133270ddc50b625139761c06df6 (patch) | |
tree | 33cdd6348088e3378f2bdcb172fa49cf58d5ea4a /src/common | |
parent | 0828b90ffabf239dc9811f299427349d6d4f8bf4 (diff) |
Use boost pi and do not declare a gudhi one. cf. PR #480
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/include/gudhi/math.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/common/include/gudhi/math.h b/src/common/include/gudhi/math.h deleted file mode 100644 index f367bac2..00000000 --- a/src/common/include/gudhi/math.h +++ /dev/null @@ -1,23 +0,0 @@ -/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT. - * See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details. - * Author(s): Vincent Rouvreau - * - * Copyright (C) 2020 Inria - * - * Modification(s): - * - YYYY/MM Author: Description of the modification - */ - -#ifndef MATH_H_ -#define MATH_H_ - -#include <boost/math/constants/constants.hpp> - -namespace Gudhi { - -// In wait of C++20 std::numbers::pi with #include <numbers> -static constexpr double PI = boost::math::constants::pi<double>(); - -} // namespace Gudhi - -#endif // MATH_H_ |