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

Commit 8e3a06e

Browse files
No @..
1 parent ca2a238 commit 8e3a06e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/differentiation/compute_jacobian_ad.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ function forwarddiff_color_jacobian!(J::AbstractMatrix{<:Number},
126126
+= means requires a zero'd out start
127127
=#
128128
if J isa SparseMatrixCSC
129-
@.. setindex!((J.nzval,),getindex((J.nzval,),rows_index) + (getindex((color,),cols_index) == color_i) * getindex((dx,),rows_index),rows_index)
129+
@. setindex!((J.nzval,),getindex((J.nzval,),rows_index) + (getindex((color,),cols_index) == color_i) * getindex((dx,),rows_index),rows_index)
130130
else
131-
@.. setindex!((J,),getindex((J,),rows_index, cols_index) + (getindex((color,),cols_index) == color_i) * getindex((dx,),rows_index),rows_index, cols_index)
131+
@. setindex!((J,),getindex((J,),rows_index, cols_index) + (getindex((color,),cols_index) == color_i) * getindex((dx,),rows_index),rows_index, cols_index)
132132
end
133133
end
134134
color_i += 1

0 commit comments

Comments
 (0)