Skip to content

Commit

Permalink
fix: fix broadcast bug in getp
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Mar 11, 2024
1 parent 2a45e9c commit 6997781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parameter_indexing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function _getp(sys, ::NotSymbolic, ::NotSymbolic, p)
parameter_values.(
parameter_values_at_time.((prob,),
(j for j in only(to_indices(parameter_timeseries(prob), (i,))))),
p)
(p,))
end
function _getter(::Timeseries, prob, i)
parameter_values.(parameter_values_at_time.((prob,), i), (p,))
Expand Down

0 comments on commit 6997781

Please sign in to comment.