We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47d0b12 commit be6caffCopy full SHA for be6caff
1 file changed
DifferentiationInterface/src/utils/context.jl
@@ -145,5 +145,5 @@ function with_contexts(f::F, contexts::Vararg{Context,N}) where {F,N}
145
return FixTail(f, tail_args...)
146
end
147
148
-adapt_eltype(c::Constant, ::Type) where {T} = c
+adapt_eltype(c::Constant, ::Type) = c
149
adapt_eltype(c::Cache, ::Type{T}) where {T} = Cache(similar(unwrap(c), T))
0 commit comments