Skip to content

Commit

Permalink
Less diff
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Oct 7, 2024
1 parent ea20b26 commit ac17d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/SparseDiffToolsPolyesterExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function polyesterforwarddiff_color_jacobian(J::AbstractMatrix{<:Number}, f::F,
if colorvec[cols_index[idx]] == color_i]
rows_index_c = rows_index[pick_inds]
cols_index_c = cols_index[pick_inds]
@simd for i in eachindex(rows_index_c, cols_index_c)
@inbounds @simd for i in 1:length(rows_index_c)
J[rows_index_c[i], cols_index_c[i]] = dx[rows_index_c[i]]
end
color_i += 1
Expand Down

0 comments on commit ac17d0b

Please sign in to comment.