Skip to content

Commit eb09ecc

Browse files
committed
refactor: disable slow depwarn in evaluation
1 parent d762662 commit eb09ecc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Evaluate.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ end
7070
throw(ArgumentError("Invalid keyword argument(s): $(keys(deprecated_kws))"))
7171
end
7272
if !isempty(deprecated_kws)
73-
@assert eval_options === nothing "Cannot use both `eval_options` and deprecated flags `turbo` and `bumper`."
74-
Base.depwarn(
75-
"The `turbo` and `bumper` keyword arguments are deprecated. Please use `eval_options` instead.",
76-
:eval_tree_array,
73+
@assert(
74+
eval_options === nothing,
75+
"Cannot use both `eval_options` and deprecated flags `turbo` and `bumper`."
7776
)
77+
# TODO: We don't do a depwarn as it can GREATLY bottleneck the search speed.
7878
end
7979
if eval_options !== nothing
8080
return eval_options

0 commit comments

Comments
 (0)