You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When get_parameter_timeseries returns Vector{ParameterTimeseriesIndex} we get the following MethodError.
ERROR: MethodError: no method matching SymbolicIndexingInterface.GetParameterTimeseriesIndex(::Vector{…}, ::Vector{…})
The type `SymbolicIndexingInterface.GetParameterTimeseriesIndex` exists, but no method is defined for this combination of argument types when trying to construct it.
Closest candidates are:
SymbolicIndexingInterface.GetParameterTimeseriesIndex(::I, ::J) where {I<:SymbolicIndexingInterface.GetParameterIndex, J<:(SymbolicIndexingInterface.GetParameterIndex{<:SymbolicIndexingInterface.ParameterTimeseriesIndex})}
@ SymbolicIndexingInterface ~/.julia/packages/SymbolicIndexingInterface/CErRX/src/parameter_indexing.jl:127
Stacktrace:
[1] _getp(sys::Network{…}, ::SymbolicIndexingInterface.ArraySymbolic, ::SymbolicIndexingInterface.ScalarSymbolic, p::EPIndex{…})
@ SymbolicIndexingInterface ~/.julia/packages/SymbolicIndexingInterface/CErRX/src/parameter_indexing.jl:628
[2] getp(sys::Network{…}, p::EPIndex{…})
@ SymbolicIndexingInterface ~/.julia/packages/SymbolicIndexingInterface/CErRX/src/parameter_indexing.jl:41
[3] top-level scope
@ REPL[31]:1
[4] top-level scope
@ none:1
Some type information was truncated. Use `show(err)` to see complete types.
When
get_parameter_timeseries
returnsVector{ParameterTimeseriesIndex}
we get the followingMethodError
.There is a difference
_getp
for::ScalarSymbolic
:SymbolicIndexingInterface.jl/src/parameter_indexing.jl
Lines 351 to 352 in 82f1464
and
::ArraySymbolic
SymbolicIndexingInterface.jl/src/parameter_indexing.jl
Line 628 in 82f1464
The text was updated successfully, but these errors were encountered: