Skip to content

Commit da11a89

Browse files
committed
use successful_retcode
1 parent be0f1b1 commit da11a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibTrixi.jl/src/api_jl.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function trixi_step_jl(simstate)
3030

3131
ret = check_error(simstate.integrator)
3232

33-
if ret != :Success
33+
if !successful_retcode(ret)
3434
error("integrator failed to perform time step, return code: ", ret)
3535
end
3636

0 commit comments

Comments
 (0)