Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaLGandhi committed Jun 25, 2024
1 parent 2577176 commit ba214c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sensitivity_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ function _adjoint_sensitivities(sol, sensealg, alg;
tunables, _, _ = canonicalize(Tunable(), mtkp)
end
prob = sol.prob
# l = p === nothing || p === DiffEqBase.NullParameters() ? 0 : length(sol.prob.p) # should this overload length, or adjust how number of params are queried
l = mtkp === nothing || mtkp === DiffEqBase.NullParameters() ? 0 : length(tunables)
du0 = state_values(adj_sol)[end][1:length(state_values(prob))]

Expand Down

0 comments on commit ba214c3

Please sign in to comment.