Skip to content

Commit d4b8d25

Browse files
committed
Address code review comments
1 parent 9654bb2 commit d4b8d25

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/systems/diffeqs/abstractodesystem.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,3 +418,5 @@ end
418418
function SteadyStateProblemExpr(sys::AbstractODESystem, args...; kwargs...)
419419
SteadyStateProblemExpr{true}(sys, args...; kwargs...)
420420
end
421+
422+
isdiffeq(eq) = eq.lhs isa Term && operation(eq.lhs) isa Differential

src/systems/reduction.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function get_α_x(αx)
4949
end
5050
end
5151

52-
function alias_elimination(sys)
52+
function alias_elimination(sys::ODESystem)
5353
eqs = vcat(equations(sys), observed(sys))
5454

5555
subs = Pair[]

0 commit comments

Comments
 (0)