Skip to content

Commit 127970d

Browse files
committed
Fix issue in nonsquare.jl
1 parent d9ec112 commit 127970d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/default.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ end
7171

7272
function defaultalg(A::SciMLBase.AbstractDiffEqOperator, b,
7373
assumptions::OperatorAssumptions{false})
74-
m,n = size(A)
74+
m, n = size(A)
7575
if m < n
7676
KrylovJL_CRAIGMR()
7777
else

test/nonsquare.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ res = A \ b
2222
A = sprand(n, m, 0.5)
2323
b = rand(n)
2424
prob = LinearProblem(A, b)
25-
res = A \ b
25+
res = Matrix(A) \ b
2626
@test solve(prob, KrylovJL_CRAIGMR()) res

0 commit comments

Comments
 (0)