Skip to content

Commit aac6342

Browse files
committed
Reverting fix to untested function (I tried adding a test, but the function doesn't work anyway...). Should improve codecov.
1 parent a3a84ac commit aac6342

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/systems/diffeqs/abstractodesystem.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ function generate_control_jacobian(sys::AbstractODESystem, dvs = states(sys),
9898
ps = parameters(sys);
9999
simplify = false, sparse = false, kwargs...)
100100
jac = calculate_control_jacobian(sys; simplify = simplify, sparse = sparse)
101-
pre = get_preprocess_constants(jac)
102-
return build_function(jac, dvs, ps, get_iv(sys); postprocess_fbody = pre, kwargs...)
101+
return build_function(jac, dvs, ps, get_iv(sys); kwargs...)
103102
end
104103

105104
function generate_dae_jacobian(sys::AbstractODESystem, dvs = states(sys),

0 commit comments

Comments
 (0)