Skip to content

Commit ed97a96

Browse files
author
Shashi Gowda
committed
add a catch-all unsorted_arguments
1 parent c679e9b commit ed97a96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/types.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ function arguments(x::BasicSymbolic)
137137
end
138138
return args
139139
end
140+
141+
unsorted_arguments(x) = arguments(x)
140142
children(x::BasicSymbolic) = [operation(x); arguments(x)]
141143
function unsorted_arguments(x::BasicSymbolic)
142144
@compactified x::BasicSymbolic begin

0 commit comments

Comments
 (0)