Skip to content

Commit 5d511aa

Browse files
committed
feat: allow empty operators
1 parent 3453826 commit 5d511aa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/OperatorEnumConstruction.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,6 @@ function OperatorEnum(;
372372
# Deprecated:
373373
enable_autodiff=nothing,
374374
)
375-
@assert length(binary_operators) > 0 || length(unary_operators) > 0
376375
enable_autodiff !== nothing && Base.depwarn(
377376
"The option `enable_autodiff` has been deprecated. " *
378377
"Differential operators are now automatically computed within the gradient call.",

0 commit comments

Comments
 (0)