Skip to content

Commit

Permalink
Deprecate unsorted_arguments in favor of arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenszhu committed Jun 24, 2024
1 parent bcb7c1b commit 3e8bcca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ children(x::BasicSymbolic) = arguments(x)

sorted_children(x::BasicSymbolic) = sorted_arguments(x)

function unsorted_arguments(x)
Base.depwarn("`unsorted_arguments(x)` is deprecated, use `arguments(x)` instead.", :unsorted_arguments)
arguments(x)
end

function arguments(x::BasicSymbolic)
@compactified x::BasicSymbolic begin
Term => return x.arguments
Expand Down

0 comments on commit 3e8bcca

Please sign in to comment.