Skip to content

Commit

Permalink
Update type.jl (#441)
Browse files Browse the repository at this point in the history
Scalarize
  • Loading branch information
AlCap23 authored Dec 14, 2022
1 parent 2f74221 commit 9892ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basis/type.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function __preprocess_basis(eqs, states, ctrls, ps, observed, iv, implicit, name
iv === nothing && (iv = Symbolics.variable(:t))
iv = value(iv)
# Scalarize equations
eqs = collect(eqs)
eqs = Symbolics.scalarize(eqs)

lhs = isa(eqs, AbstractVector{Equation}) ?
map(Base.Fix2(getfield, :lhs), eqs) :
Expand Down

0 comments on commit 9892ba6

Please sign in to comment.