Skip to content

Commit e650f14

Browse files
committed
Fast checking
1 parent 9c71040 commit e650f14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ SciMLBase = "1.3"
7272
Setfield = "0.7"
7373
SpecialFunctions = "0.7, 0.8, 0.9, 0.10, 1.0"
7474
StaticArrays = "0.10, 0.11, 0.12, 1.0"
75-
SymbolicUtils = "0.12, 0.13"
75+
SymbolicUtils = "0.13.4"
7676
Symbolics = "3.1"
7777
UnPack = "0.1, 1.0"
7878
Unitful = "1.1"

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ function check_operator_variables(eq, op::Type, expr=eq.rhs)
216216
if operation(expr) isa op
217217
throw_invalid_operator(expr, eq, op)
218218
end
219-
foreach(expr -> check_operator_variables(eq, op, expr), arguments(expr))
219+
foreach(expr -> check_operator_variables(eq, op, expr), SymbolicUtils.unsorted_arguments(expr))
220220
end
221221

222222
isdifferential(expr) = istree(expr) && operation(expr) isa Differential

0 commit comments

Comments
 (0)