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

Commit de7aa2b

Browse files
committed
Remove unnecessary x = rand(30)
1 parent 9a2f088 commit de7aa2b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

test/test_ad.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ _J1 = forwarddiff_color_jacobian(oopf, x, colorvec = repeat(1:3,10), sparsity =
117117

118118

119119
#oop with in-place Jacobian
120-
x = rand(30)
121120
fcalls = 0
122121
_oop_jacout = spzeros(size(J)...)
123122
forwarddiff_color_jacobian(_oop_jacout, oopf, x; colorvec = repeat(1:3,10), sparsity = _J, jac_prototype = _J)

0 commit comments

Comments
 (0)