diff --git a/src/Solve.jl b/src/Solve.jl index 746b413ac..10fdbccf3 100644 --- a/src/Solve.jl +++ b/src/Solve.jl @@ -98,7 +98,7 @@ end function Base.show(io::IO, ::MIME"text/plain", C::SolveCtx) io = PrettyPrinting.pretty(io) - println(io, "Linear solving context object of matrix") + println(io, "Linear solving context of matrix") print(io, PrettyPrinting.Indent()) show(io, MIME"text/plain"(), matrix(C)) print(io, PrettyPrinting.Dedent()) @@ -107,7 +107,7 @@ end function Base.show(io::IO, C::SolveCtx) PrettyPrinting.@show_name(io, C) - print(io, "Linear solving context object") + print(io, "Linear solving context") end @doc raw""" diff --git a/test/Solve-test.jl b/test/Solve-test.jl index 727971929..2eeb2ca62 100644 --- a/test/Solve-test.jl +++ b/test/Solve-test.jl @@ -1,5 +1,5 @@ @testset "Linear solving" begin - for R in [ QQ, ZZ ] + for R in [ QQ, ZZ, GF(101) ] M = matrix(R, [1 2 3 4 5; 0 0 8 9 10; 0 0 0 14 15]) @test_throws ErrorException AbstractAlgebra.Solve.solve(M, [ R(1) ]) @@ -81,7 +81,7 @@ end @testset "Linear solving context" begin - for R in [ QQ, ZZ ] + for R in [ QQ, ZZ, GF(101) ] M = matrix(R, [1 2 3 4 5; 0 0 8 9 10; 0 0 0 14 15]) C = AbstractAlgebra.Solve.solve_init(M)