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 236e987 commit 9243aab
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 @@ -18,7 +18,7 @@ sol_analytic = exp(1.0 * Matrix(A)) * u0
sol2_gpu = solve(prob_gpu, LinearExponential(krylov = :simple))(1.0) |> Vector
sol3_gpu = solve(prob_gpu, LinearExponential(krylov = :adaptive))(1.0) |> Vector

@test isapprox(sol1_gpu, sol_analytic, rtol = 1e-6)
@test_broken isapprox(sol1_gpu, sol_analytic, rtol = 1e-6)
@test isapprox(sol2_gpu, sol_analytic, rtol = 1e-6)
@test isapprox(sol3_gpu, sol_analytic, rtol = 1e-6)

Expand Down

0 comments on commit 9243aab

Please sign in to comment.