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 1365d5e commit 6f001e2Copy full SHA for 6f001e2
src/highlevel/common.jl
@@ -291,8 +291,8 @@ end
291
__chunksize(x) = ForwardDiff.Chunk(x)
292
__chunksize(x::StaticArray) = ForwardDiff.Chunk{ForwardDiff.pickchunksize(prod(Size(x)))}()
293
294
-function __chunksize(::Union{AutoSparse{<:AutoForwardDiff}{C}, AutoForwardDiff{C},
295
- AutoSparse{<:AutoPolyesterForwardDiff}{C}, AutoPolyesterForwardDiff{C}}) where {C}
+function __chunksize(::Union{AutoSparse{<:AutoForwardDiff{C}}, AutoForwardDiff{C},
+ AutoSparse{<:AutoPolyesterForwardDiff{C}}, AutoPolyesterForwardDiff{C}}) where {C}
296
C === nothing && return nothing
297
C isa Integer && !(C isa Bool) && return C ≤ 0 ? nothing : Val(C)
298
return nothing
0 commit comments