We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10039f0 commit 08dac12Copy full SHA for 08dac12
src/compat/ad.jl
@@ -11,8 +11,8 @@ ZygoteRules.@adjoint function push!(
11
end
12
13
ZygoteRules.@adjoint function Threads.nthreads()
14
- Threads.nthreads(), _ -> (nothing,)
+ return Threads.nthreads(), _ -> nothing
15
16
ZygoteRules.@adjoint function Threads.threadid()
17
- Threads.threadid(), _ -> (nothing,)
+ return Threads.threadid(), _ -> nothing
18
0 commit comments