Skip to content

Commit 5f208c0

Browse files
committed
changes I forgot to push
1 parent 130e04c commit 5f208c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/deprecations.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ const FluxMetalAdaptor = MetalDevice
6666

6767

6868
function reset!(x)
69-
Base.depwarn("reset!(m) is deprecated. You can remove this call as it is no more needed.", :reset!)
69+
@warn "`reset!(m)` is deprecated. You can remove this call as it is no more needed." maxlog=1
7070
return x
7171
end
7272

73-
function params!(p::Zygote.Params, x, seen = IdSet())
73+
function params!(p::Zygote.Params, x, seen = Base.IdSet())
7474
if x isa AbstractArray{<:Number} && Functors.isleaf(x)
7575
return push!(p, x)
7676
elseif x in seen

0 commit comments

Comments
 (0)