diff --git a/utils/Test/testDeproject.cc b/utils/Test/testDeproject.cc index c9ae00e40..8675b9643 100644 --- a/utils/Test/testDeproject.cc +++ b/utils/Test/testDeproject.cc @@ -8,7 +8,7 @@ #include "cxxopts.H" namespace { - constexpr double pi = std::acos(-1.0); + const double pi = std::acos(-1.0); } using namespace Deproject; diff --git a/utils/Test/testEmpDeproj.cc b/utils/Test/testEmpDeproj.cc index 1ae2b0158..a502331ba 100644 --- a/utils/Test/testEmpDeproj.cc +++ b/utils/Test/testEmpDeproj.cc @@ -25,7 +25,7 @@ int main(int argc, char* argv[]) int Nr, Ngrid, NumR, Nint; // Define pi in a portable way instead of relying on non-standard M_PI - constexpr double pi = std::acos(-1.0); + const double pi = std::acos(-1.0); // Parse command-line options //