From 0dcd915ea609b2eb9cbc498040a79f6c99a0aadf Mon Sep 17 00:00:00 2001 From: Allison Vacanti Date: Thu, 18 Mar 2021 16:07:50 -0400 Subject: [PATCH] Fix test failure. --- testing/option_parser.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/option_parser.cu b/testing/option_parser.cu index 61f5f6b..9d7e6a9 100644 --- a/testing/option_parser.cu +++ b/testing/option_parser.cu @@ -1204,7 +1204,7 @@ void test_max_noise() const auto& states = parser_to_states(parser); ASSERT(states.size() == 1); - ASSERT(std::abs(states[0].get_max_noise() - 0.503) < 1.-4); + ASSERT(std::abs(states[0].get_max_noise() - 0.503) < 1.e-4); } void test_skip_time()