From 92a7f3c76bdf12457b483fc4588d47a880d22284 Mon Sep 17 00:00:00 2001 From: Luc Berger-Vergiat Date: Thu, 7 Mar 2024 12:17:40 -0700 Subject: [PATCH] Modifying unit-test to catch proper return type --- ode/unit_test/Test_ODE_Newton.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ode/unit_test/Test_ODE_Newton.hpp b/ode/unit_test/Test_ODE_Newton.hpp index 7bc314fa82..61d827aa1e 100644 --- a/ode/unit_test/Test_ODE_Newton.hpp +++ b/ode/unit_test/Test_ODE_Newton.hpp @@ -238,7 +238,7 @@ void test_newton_status() { scalar_type solution[3] = {2.0, -1.0, 0.0}; #endif newton_solver_status newton_status[3] = { - newton_solver_status::NLS_SUCCESS, newton_solver_status::MAX_ITER, + newton_solver_status::NLS_SUCCESS, newton_solver_status::NLS_DIVERGENCE, newton_solver_status::LIN_SOLVE_FAIL}; vec_type x("solution vector", 1), rhs("right hand side vector", 1); auto x_h = Kokkos::create_mirror_view(x);