Skip to content

Commit e4b71cb

Browse files
committed
Fix polynorm deprecation warning
1 parent 266d3e6 commit e4b71cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ function simplify(x;
1818
thread_subtree_cutoff=100,
1919
rewriter=nothing)
2020
if polynorm !== nothing
21-
Base.depwarn("simplify(..; polynorm=$polynorm) is deprecated, use simplify(..; expand=$polynorm) instead")
21+
Base.depwarn("simplify(..; polynorm=$polynorm) is deprecated, use simplify(..; expand=$polynorm) instead",
22+
:simplify)
2223
end
2324

2425
f = if rewriter === nothing

0 commit comments

Comments
 (0)