Skip to content

Commit 674b8c4

Browse files
fix filter
1 parent 2147dc6 commit 674b8c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/diffeqs/abstractodesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,7 @@ function InitializationProblem{iip, specialize}(sys::AbstractODESystem,
15781578
uninit = setdiff(unknowns(sys), [unknowns(isys); getfield.(observed(isys), :lhs)])
15791579

15801580
# TODO: throw on uninitialized arrays
1581-
filter!(x -> x isa Symbolics.Arr, uninit)
1581+
filter!(x -> !(x isa Symbolics.Arr), uninit)
15821582
if !isempty(uninit)
15831583
throw(IncompleteInitializationError(uninit))
15841584
end

0 commit comments

Comments
 (0)