Skip to content

Commit 8f71149

Browse files
committed
typo
1 parent f9ca631 commit 8f71149

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/basictests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ end
9494
# Test that refactoring is checked and handled.
9595
cache = SciMLBase.init(prob1, UMFPACKFactorization(); cache_kwargs...) # initialize cache
9696
y = solve(cache)
97-
X = sprand(sprand(n, n, 0.8))
97+
X = sprand(n, n, 0.8)
9898
cache = LinearSolve.set_A(cache, X)
9999
@test X * solve(cache) b1
100100
end
@@ -115,7 +115,7 @@ end
115115
# Test that refactoring wrong is checked and handled.
116116
cache = SciMLBase.init(prob1, KLUFactorization(); cache_kwargs...) # initialize cache
117117
y = solve(cache)
118-
X = sprand(sprand(n, n, 0.8))
118+
X = sprand(n, n, 0.8)
119119
cache = LinearSolve.set_A(cache, X)
120120
@test X * solve(cache) b1
121121
end

0 commit comments

Comments
 (0)