Skip to content

Commit ef49d21

Browse files
committed
Fix seed dual...
1 parent 5ceb0d1 commit ef49d21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/problem_types/ODERelaxProb.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ function integrate!(d::AbstractODERelaxIntegrator, p::ODERelaxProb)
354354
local_prob_storage = get(d, LocalIntegrator())::ODELocalIntegrator
355355

356356
getall!(local_prob_storage.p, d, ParameterValue())
357-
local_prob_storage.pduals .= seed_duals(local_prob_storage.p)
357+
local_prob_storage.pduals .= seed_duals(Val(length(local_prob_storage.p)), local_prob_storage.p)
358358
local_prob_storage.x0duals = p.x0(d.local_problem_storage.pduals)
359359

360360
solution_t = integrate!(Val(get(d, LocalSensitivityOn())), d, p)

0 commit comments

Comments
 (0)