Skip to content

Commit 80548bc

Browse files
Update src/systems/callbacks.jl
Co-authored-by: Aayush Sabharwal <[email protected]>
1 parent 4bfdc90 commit 80548bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/callbacks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ function compile_condition(
618618
condit, u, p..., t; expression,
619619
kwargs...)
620620

621-
if expression == Val{true}
621+
if expression == Val{false}
622622
fs = eval_or_rgf.(fs; eval_expression, eval_module)
623623
end
624624
f_oop, f_iip = is_discrete(cbs) ? (fs, nothing) : fs # no iip function for discrete condition.

0 commit comments

Comments
 (0)