Skip to content

Commit 5324156

Browse files
committed
Missed some more formatting.
1 parent ec1ce76 commit 5324156

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/utils.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,8 @@ function collect_constants!(constants, expr::Symbolics.Symbolic{T}) where {T}
542542
end
543543

544544
""" Replace symbolic constants with their literal values """
545-
function eliminate_constants(eqs::AbstractArray{<:Union{Equation, Symbolic}}, cs::Vector{Sym})
545+
function eliminate_constants(eqs::AbstractArray{<:Union{Equation, Symbolic}},
546+
cs::Vector{Sym})
546547
cmap = Dict(x => getdefault(x) for x in cs)
547548
return substitute(eqs, cmap)
548549
end

test/components.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,4 +281,4 @@ rc_eqs = [connect(capacitor.n, resistor.p)
281281
[resistor, capacitor, ground])
282282
sys = structural_simplify(rc_model)
283283
prob = ODAEProblem(sys, u0, (0, 10.0))
284-
sol = solve(prob, Tsit5())
284+
sol = solve(prob, Tsit5())

0 commit comments

Comments
 (0)