Skip to content

Commit

Permalink
Update test/gpu/linear_exp.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Nov 21, 2024
1 parent 1fe937d commit f15a48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/gpu/linear_exp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ prob2_gpu = ODEProblem(A2_gpu, u0_gpu, (0.0, 1.0))
sol2_2_gpu = solve(prob2_gpu, LinearExponential(krylov = :simple))(1.0) |> Vector
sol2_3_gpu = solve(prob2_gpu, LinearExponential(krylov = :adaptive))(1.0) |> Vector

@test isapprox(sol2_1_gpu, sol_analytic, rtol = 1e-6)
@test_broken isapprox(sol2_1_gpu, sol_analytic, rtol = 1e-6)
@test isapprox(sol2_2_gpu, sol_analytic, rtol = 1e-6)
@test isapprox(sol2_3_gpu, sol_analytic, rtol = 1e-6)
@test isapprox(sol2_4_gpu, sol_analytic, rtol = 1e-4)

0 comments on commit f15a48a

Please sign in to comment.