Skip to content

Commit

Permalink
got tests passing again
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Jul 14, 2023
1 parent 18c38fd commit 6449254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ mutable struct IntermediateResults
end
end
function (o::IntermediateResults)(integrator)
if o.last_callback + o.every Dates.now(UTC)
o.last_callback = Dates.now(UTC)
if o.last_callback + o.every Dates.now()
o.last_callback = Dates.now()
(; iter, t, u, uprev) = integrator
publish_to_rabbitmq(; iter=iter, time=t, params=u, abserr=norm(u - uprev), id=o.id,
retcode=SciMLBase.check_error(integrator))
Expand Down

0 comments on commit 6449254

Please sign in to comment.