Skip to content

Commit

Permalink
Modifying unit-test to catch proper return type
Browse files Browse the repository at this point in the history
  • Loading branch information
lucbv committed Mar 7, 2024
1 parent beefcaa commit 92a7f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ode/unit_test/Test_ODE_Newton.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 92a7f3c

Please sign in to comment.