Skip to content

Commit 47d4d68

Browse files
committed
make sparse
1 parent 2e003ee commit 47d4d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/forwarddiff_overloads.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ backslash_x_p = A \ b
186186

187187
A, b = h([ForwardDiff.Dual(5.0, 1.0, 0.0), ForwardDiff.Dual(5.0, 0.0, 1.0)])
188188

189-
prob = LinearProblem(A, b)
189+
prob = LinearProblem(sparse(A), sparse(b))
190190
overload_x_p = solve(prob, UMFPACKFactorization())
191191
backslash_x_p = A \ b
192192

0 commit comments

Comments
 (0)