define EPSILON consistently as static constexp
This commit is contained in:
@ -88,7 +88,7 @@ static void create_molecule_files(const std::string &h2o_filename, const std::st
|
||||
// whether to print verbose output (i.e. not capturing LAMMPS screen output).
|
||||
bool verbose = false;
|
||||
|
||||
const double EPSILON = 5.0e-14;
|
||||
static const double EPSILON = 5.0e-14;
|
||||
|
||||
namespace LAMMPS_NS {
|
||||
using ::testing::Eq;
|
||||
|
||||
@ -32,7 +32,7 @@ using testing::StrEq;
|
||||
|
||||
using utils::split_words;
|
||||
|
||||
const double EPSILON = 5.0e-14;
|
||||
static constexpr double EPSILON = 5.0e-14;
|
||||
|
||||
#define test_name test_info_->name()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user