Skip to content

Commit 26ec19f

Browse files
committed
Fix generic operators test
1 parent fa9af99 commit 26ec19f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/OperatorEnumConstruction.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@ function GenericOperatorEnum(;
304304
)
305305
@assert length(binary_operators) > 0 || length(unary_operators) > 0
306306

307+
binary_operators = Function[op for op in binary_operators]
308+
unary_operators = Function[op for op in unary_operators]
309+
307310
operators = GenericOperatorEnum(binary_operators, unary_operators)
308311

309312
if define_helper_functions

0 commit comments

Comments
 (0)