Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion utils/Test/testDeproject.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion utils/Test/testEmpDeproj.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down