define EPSILON consistently as static constexp
This commit is contained in:
@ -314,7 +314,7 @@ TEST_F(GroupTest, Dynamic)
|
|||||||
command("group ramp variable grow"););
|
command("group ramp variable grow"););
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr double EPSILON = 1.0e-13;
|
static constexpr double EPSILON = 1.0e-13;
|
||||||
|
|
||||||
TEST_F(GroupTest, VariableFunctions)
|
TEST_F(GroupTest, VariableFunctions)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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).
|
// whether to print verbose output (i.e. not capturing LAMMPS screen output).
|
||||||
bool verbose = false;
|
bool verbose = false;
|
||||||
|
|
||||||
const double EPSILON = 5.0e-14;
|
static const double EPSILON = 5.0e-14;
|
||||||
|
|
||||||
namespace LAMMPS_NS {
|
namespace LAMMPS_NS {
|
||||||
using ::testing::Eq;
|
using ::testing::Eq;
|
||||||
|
|||||||
@ -32,7 +32,7 @@ using testing::StrEq;
|
|||||||
|
|
||||||
using utils::split_words;
|
using utils::split_words;
|
||||||
|
|
||||||
const double EPSILON = 5.0e-14;
|
static constexpr double EPSILON = 5.0e-14;
|
||||||
|
|
||||||
#define test_name test_info_->name()
|
#define test_name test_info_->name()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user