From ed97a96a8864c584c12c040acdfdf09380d2e8eb Mon Sep 17 00:00:00 2001 From: Shashi Gowda Date: Sat, 13 Apr 2024 11:31:50 -0400 Subject: [PATCH] add a catch-all unsorted_arguments --- src/types.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types.jl b/src/types.jl index 489c633ab..f9ea33121 100644 --- a/src/types.jl +++ b/src/types.jl @@ -137,6 +137,8 @@ function arguments(x::BasicSymbolic) end return args end + +unsorted_arguments(x) = arguments(x) children(x::BasicSymbolic) = [operation(x); arguments(x)] function unsorted_arguments(x::BasicSymbolic) @compactified x::BasicSymbolic begin