Commit c6dba421 authored by Alain O' Miniussi's avatar Alain O' Miniussi
Browse files

static const to constexpr

parent 3bd4b2d5
......@@ -27,8 +27,8 @@
#include "precision.hpp"
namespace fargOCA {
static real const PI = 3.14159265358979323844;
static real const PI4 = 4*PI;
real constexpr PI = 3.14159265358979323844;
//real const PI4 = 4*PI;
real constexpr YEAR = 365.25*24*3600; ///< one year in s
real constexpr RSUN = 6.96e+10; ///< Sun radius in cm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment