Skip to content

Commit a743335

Browse files
committed
fix eltype for parameter timeseries
1 parent f23f441 commit a743335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/symbolicindexing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ end
344344

345345

346346
function SciMLBase.create_parameter_timeseries_collection(nw::Network, p::AbstractVector, tspan)
347-
data = DiffEqArray(Vector{Float64}[copy(p)], Float64[tspan[begin]])
347+
data = DiffEqArray(Vector{eltype(p)}[copy(p)], Float64[tspan[begin]])
348348
tsc = SII.ParameterTimeseriesCollection((data,), copy(p))
349349
return tsc
350350
end

0 commit comments

Comments
 (0)