replace defines with static constexpr declarations
This commit is contained in:
@ -31,7 +31,7 @@ using namespace LAMMPS_NS;
|
||||
|
||||
enum { SUM, MINN, MAXX };
|
||||
|
||||
#define BIG 1.0e20
|
||||
static constexpr double BIG = 1.0e20;
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user