diff --git a/test/testcpp.cc b/test/testcpp.cc index b9dee94..50acada 100644 --- a/test/testcpp.cc +++ b/test/testcpp.cc @@ -45,7 +45,7 @@ void dotest(int nfft) // Create long double constant for pi because M_PIl is not defined by // all toolchains. - const long double pi = std::acosl(-1); + const long double pi = std::acos(static_cast(-1)); for (int k0=0;k0 acc = 0;