Skip to content

Commit

Permalink
Merge pull request #56 from SciML/as/getp-broadcast-bug
Browse files Browse the repository at this point in the history
fix: fix broadcast bug in getp
  • Loading branch information
ChrisRackauckas authored Mar 11, 2024
2 parents fb4d4cb + 6997781 commit 0fc955b
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 0fc955b

Please sign in to comment.