@@ -699,7 +699,7 @@ function compile_affect(eqs::Vector{Equation}, cb, sys, dvs, ps; outputidxs = no
699
699
add_integrator_header (sys, integ, outvar),
700
700
outputidxs = update_inds,
701
701
create_bindings = false ,
702
- kwargs... )
702
+ kwargs... , cse = false )
703
703
# applied user-provided function to the generated expression
704
704
if postprocess_affect_expr! != = nothing
705
705
postprocess_affect_expr! (rf_ip, integ)
@@ -729,7 +729,7 @@ function generate_single_rootfinding_callback(
729
729
end
730
730
731
731
rf_oop, rf_ip = generate_custom_function (
732
- sys, [eq. rhs], dvs, ps; expression = Val{false }, kwargs... )
732
+ sys, [eq. rhs], dvs, ps; expression = Val{false }, kwargs... , cse = false )
733
733
affect_function = compile_affect_fn (cb, sys, dvs, ps, kwargs)
734
734
cond = function (u, t, integ)
735
735
if DiffEqBase. isinplace (integ. sol. prob)
@@ -780,7 +780,7 @@ function generate_vector_rootfinding_callback(
780
780
781
781
rhss = map (x -> x. rhs, eqs)
782
782
_, rf_ip = generate_custom_function (
783
- sys, rhss, dvs, ps; expression = Val{false }, kwargs... )
783
+ sys, rhss, dvs, ps; expression = Val{false }, kwargs... , cse = false )
784
784
785
785
affect_functions = @NamedTuple {
786
786
affect:: Function ,
0 commit comments