We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a41a475 commit 1bd8a9aCopy full SHA for 1bd8a9a
src/variable_rate.jl
@@ -351,6 +351,10 @@ const NUM_GAUSS_QUAD_NODES = 4
351
352
# Condition functor defined directly on the cache
353
function (cache::VR_DirectEventCache)(u, t, integrator)
354
+ if integrator.t < cache.current_time
355
+ error("integrator.t < cache.current_time. $(integrator.t) < $(cache.current_time). This is not supported in the `VR_Direct` handling")
356
+ end
357
+
358
if integrator.t != cache.current_time
359
cache.prev_time = cache.current_time
360
cache.prev_threshold = cache.current_threshold
0 commit comments