diff --git a/tests/unit/collection/test_model_norm.nompi.cc b/tests/unit/collection/test_model_norm.nompi.cc index cf1b669b4c..f1d264f0a3 100644 --- a/tests/unit/collection/test_model_norm.nompi.cc +++ b/tests/unit/collection/test_model_norm.nompi.cc @@ -50,7 +50,7 @@ #include "test_harness.h" -#include +#include #include namespace vt { namespace tests { namespace unit { @@ -185,8 +185,8 @@ TEST_F(TestModelNorm, test_model_norm_3) { {ElementIDType{2}, {TimeType{40}, TimeType{50}, TimeType{60}}}}}}; // infinite 'power' value - auto test_model = - std::make_shared(std::make_shared(), std::exp(800)); + auto test_model = std::make_shared( + std::make_shared(), std::numeric_limits::infinity()); test_model->setLoads(&proc_load, &proc_subphase_load, nullptr); std::array expected_norms = {TimeType{30}, TimeType{60}};