Skip to content

Commit 730a423

Browse files
committed
Replace deprecated unsorted_arguments with arguments
1 parent 4e84df3 commit 730a423

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/systems/connectors.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function collect_instream!(set, expr, occurs = false)
8585
iscall(expr) || return occurs
8686
op = operation(expr)
8787
op === instream && (push!(set, expr); occurs = true)
88-
for a in SymbolicUtils.unsorted_arguments(expr)
88+
for a in SymbolicUtils.arguments(expr)
8989
occurs |= collect_instream!(set, a, occurs)
9090
end
9191
return occurs

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ function _check_operator_variables(eq, op::T, expr = eq.rhs) where {T}
281281
throw_invalid_operator(expr, eq, op)
282282
end
283283
foreach(expr -> _check_operator_variables(eq, op, expr),
284-
SymbolicUtils.unsorted_arguments(expr))
284+
SymbolicUtils.arguments(expr))
285285
end
286286
"""
287287
Check if all the LHS are unique

0 commit comments

Comments
 (0)