Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 83b0bd3

Browse files
fix typo
1 parent 724792b commit 83b0bd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jacvec_operators.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ mutable struct JacVecOperator{T,F,T1,T2,uType,P,tType,O} <:
4242
opnorm = true,
4343
) where {T}
4444
if autodiff
45-
cache1 = ForwardDiff.Dual{typeof(ForwardDiff.Tag(SparseDiffTools.DeivVecTag(),eltype(x))),eltype(x),1}.(u, ForwardDiff.Partials.(tuple.(u)))
46-
cache2 = ForwardDiff.Dual{typeof(ForwardDiff.Tag(SparseDiffTools.DeivVecTag(),eltype(x))),eltype(x),1}.(u, ForwardDiff.Partials.(tuple.(u)))
45+
cache1 = ForwardDiff.Dual{typeof(ForwardDiff.Tag(SparseDiffTools.DeivVecTag(),eltype(u))),eltype(u),1}.(u, ForwardDiff.Partials.(tuple.(u)))
46+
cache2 = ForwardDiff.Dual{typeof(ForwardDiff.Tag(SparseDiffTools.DeivVecTag(),eltype(u))),eltype(u),1}.(u, ForwardDiff.Partials.(tuple.(u)))
4747
else
4848
cache1 = similar(u)
4949
cache2 = similar(u)

0 commit comments

Comments
 (0)