define EPSILON consistently as static constexp

This commit is contained in:
Axel Kohlmeyer
2024-07-29 11:57:46 -04:00
parent eeaa1eadeb
commit d84b12ea63
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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()