Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 2aeda51

Browse files
fix SMALLTAG
1 parent 049b6e9 commit 2aeda51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/differentiation/compute_jacobian_ad.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ void_setindex!(args...) = (setindex!(args...); return)
1414
gettag(::Type{ForwardDiff.Dual{T}}) where {T} = T
1515

1616
const default_chunk_size = ForwardDiff.pickchunksize
17-
const SMALLTAG = ForwardDiff.Tag(missing,Float64)
17+
const SMALLTAG = typeof(ForwardDiff.Tag(missing,Float64))
1818

1919
function ForwardColorJacCache(f::F,x,_chunksize = nothing;
2020
dx = nothing,

0 commit comments

Comments
 (0)