Skip to content

Commit 0c8d68a

Browse files
committed
Allow nothing syms
1 parent d2cb28c commit 0c8d68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vector_of_array.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ DiffEqArray(vec::AbstractVector{T}, ts, ::NTuple{N}) where {T, N} = DiffEqArray{
4343
# Assume that the first element is representative of all other elements
4444
DiffEqArray(vec::AbstractVector,ts::AbstractVector) = DiffEqArray(vec, ts, (size(vec[1])..., length(vec)))
4545
DiffEqArray(vec::AbstractVector{VT},ts::AbstractVector) where {T, N, VT<:AbstractArray{T, N}} = DiffEqArray{T, N+1, typeof(vec), typeof(ts), Nothing, Nothing, Nothing, Nothing}(vec, ts, nothing, nothing, nothing, nothing)
46-
function DiffEqArray(vec::AbstractVector{VT},ts::AbstractVector, syms::Vector{Symbol}, indepsym, observed::Function, p) where {T, N, VT<:AbstractArray{T, N}}
46+
function DiffEqArray(vec::AbstractVector{VT},ts::AbstractVector, syms, indepsym, observed::Function, p) where {T, N, VT<:AbstractArray{T, N}}
4747
DiffEqArray{T, N+1, typeof(vec), typeof(ts), typeof(syms), typeof(indepsym), typeof(observed), typeof(p)}(vec, ts, syms, indepsym, observed, p)
4848
end
4949

0 commit comments

Comments
 (0)