@@ -68,7 +68,7 @@ using LinearAlgebra
6868 @test denseV2 ≈ sparseM * denseV
6969 end
7070 end
71- @testset " transpose" begin
71+ @testset " transpose" begin
7272 for T in (Float32, Float64)
7373 @eval begin
7474 sparseM = sprand ($ T, 3 , 4 , 0.5 )
@@ -215,8 +215,8 @@ using LinearAlgebra
215215 factor! (f)
216216 catch err1
217217 end
218- @test sprint (showerror, err1) == " Matrix is structurally singular\n "
219-
218+ @test sprint (showerror, err1) == " The matrix is singular. \n "
219+
220220 err2 = nothing
221221 temp = sprand (N, N, 0.5 )
222222 # add big negative value to lower-right corner of positive definite.
@@ -228,7 +228,7 @@ using LinearAlgebra
228228 catch err2
229229 end
230230 @test err2 != = nothing
231-
231+
232232 err3 = nothing
233233 nonSymmetric = sparse (temp* temp' + diagm (rand (N)) + singular)
234234 try
@@ -275,10 +275,10 @@ using LinearAlgebra
275275 # they both did the minimal norm solution...
276276 # @test isapprox(solve!(aa_fact2, copy(bx)), shortMatrix\b)
277277 @test isapprox (shortMatrix * solve! (aa_fact2, bx), b)
278-
278+
279279 # solve!(aa_fact2, BX)
280280 # @test BX ≈ X
281- end
281+ end
282282 end
283283 @testset " factorize" begin
284284 jlM = sprand (4 ,4 , .9 )
@@ -287,4 +287,4 @@ using LinearAlgebra
287287 b = rand (4 )
288288 @test f \ b ≈ jlM \ b
289289 end
290- end
290+ end
0 commit comments