Skip to content

Commit f59094d

Browse files
committed
fix typo: makeempty_SparaseMatrixCSC -> makeempty_SparseMatrixCSC
1 parent f322e2b commit f59094d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ext/LinearSolveSparseArraysExt.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ LinearSolve.issparsematrix(A::AbstractSparseArray) = true
1515
function LinearSolve.make_SparseMatrixCSC(A::AbstractSparseArray)
1616
SparseMatrixCSC(size(A)..., getcolptr(A), rowvals(A), nonzeros(A))
1717
end
18-
function LinearSolve.makeempty_SparaseMatrixCSC(A::AbstractSparseArray)
18+
function LinearSolve.makeempty_SparseMatrixCSC(A::AbstractSparseArray)
1919
SparseMatrixCSC(0, 0, [1], Int[], eltype(A)[])
2020
end
2121

src/LinearSolve.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ issparsematrixcsc(A) = false
9292
handle_sparsematrixcsc_lu(A) = lu(A)
9393
issparsematrix(A) = false
9494
make_SparseMatrixCSC(A) = nothing
95-
makeempty_SparaseMatrixCSC(A) = nothing
95+
makeempty_SparseMatrixCSC(A) = nothing
9696

9797
EnumX.@enumx DefaultAlgorithmChoice begin
9898
LUFactorization

src/iterative_wrappers.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,15 @@ function init_cacheval(alg::KrylovJL, A, b, u, Pl, Pr, maxiters::Int, abstol, re
196196
alg.KrylovAlg === Krylov.gpmr! ||
197197
alg.KrylovAlg === Krylov.fom!)
198198
if issparsematrixcsc(A)
199-
KS(makeempty_SparaseMatrixCSC(A), eltype(b)[], 1)
199+
KS(makeempty_SparseMatrixCSC(A), eltype(b)[], 1)
200200
elseif A isa Matrix
201201
KS(Matrix{eltype(A)}(undef, 0, 0), eltype(b)[], 1)
202202
else
203203
KS(A, b, 1)
204204
end
205205
else
206206
if issparsematrixcsc(A)
207-
KS(makeempty_SparaseMatrixCSC(A), eltype(b)[])
207+
KS(makeempty_SparseMatrixCSC(A), eltype(b)[])
208208
elseif A isa Matrix
209209
KS(Matrix{eltype(A)}(undef, 0, 0), eltype(b)[])
210210
else

0 commit comments

Comments
 (0)