Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Oct 7, 2024
1 parent e016b5e commit c153d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/differentiation/compute_jacobian_ad.jl
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ function forwarddiff_color_jacobian!(J::AbstractMatrix{<:Number},
partial_i = p[i]

if vect isa Array
@inbounds @simd ivdep for j in eachindex(vect, vecx, partials_i)
@inbounds @simd ivdep for j in eachindex(vect, vecx, partial_i)
vect[j] = eltype(t)(vecx[j], ForwardDiff.Partials(partial_i[j]))
end
else
Expand Down

0 comments on commit c153d75

Please sign in to comment.