Skip to content

Commit 6f001e2

Browse files
committed
Error in type params
1 parent 1365d5e commit 6f001e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/highlevel/common.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ end
291291
__chunksize(x) = ForwardDiff.Chunk(x)
292292
__chunksize(x::StaticArray) = ForwardDiff.Chunk{ForwardDiff.pickchunksize(prod(Size(x)))}()
293293

294-
function __chunksize(::Union{AutoSparse{<:AutoForwardDiff}{C}, AutoForwardDiff{C},
295-
AutoSparse{<:AutoPolyesterForwardDiff}{C}, AutoPolyesterForwardDiff{C}}) where {C}
294+
function __chunksize(::Union{AutoSparse{<:AutoForwardDiff{C}}, AutoForwardDiff{C},
295+
AutoSparse{<:AutoPolyesterForwardDiff{C}}, AutoPolyesterForwardDiff{C}}) where {C}
296296
C === nothing && return nothing
297297
C isa Integer && !(C isa Bool) && return C 0 ? nothing : Val(C)
298298
return nothing

0 commit comments

Comments
 (0)