replace defines with static constexpr declarations
This commit is contained in:
@ -30,7 +30,7 @@
|
||||
using namespace LAMMPS_NS;
|
||||
using namespace FixConst;
|
||||
|
||||
#define SMALL 1.0e-10
|
||||
static constexpr double SMALL = 1.0e-10;
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user