Skip to content

Commit

Permalink
Do not print entire matrix in pinv field
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjanan committed Jan 11, 2022
1 parent 21e33d2 commit 199b21f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/multilevel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ struct Pinv{T} <: CoarseSolver
Pinv{T}(A) where T = new{T}(pinv(Matrix(A)))
end
Pinv(A) = Pinv{eltype(A)}(A)
Base.show(io::IO, p::Pinv) = print(io, "Pinv")

(p::Pinv)(x, b) = mul!(x, p.pinvA, b)

Expand Down

0 comments on commit 199b21f

Please sign in to comment.