Skip to content

Commit

Permalink
Make const fields in HYPRE(Matrix|Vector) const
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Oct 9, 2024
1 parent 6d5cb51 commit aecd442
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/HYPRE.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ end
###############

mutable struct HYPREMatrix # <: AbstractMatrix{HYPRE_Complex}
#= const =# comm::MPI.Comm
#= const =# ilower::HYPRE_BigInt
#= const =# iupper::HYPRE_BigInt
#= const =# jlower::HYPRE_BigInt
#= const =# jupper::HYPRE_BigInt
const comm::MPI.Comm
const ilower::HYPRE_BigInt
const iupper::HYPRE_BigInt
const jlower::HYPRE_BigInt
const jupper::HYPRE_BigInt
ijmatrix::HYPRE_IJMatrix
parmatrix::HYPRE_ParCSRMatrix
end
Expand Down Expand Up @@ -104,9 +104,9 @@ end
###############

mutable struct HYPREVector # <: AbstractVector{HYPRE_Complex}
#= const =# comm::MPI.Comm
#= const =# ilower::HYPRE_BigInt
#= const =# iupper::HYPRE_BigInt
const comm::MPI.Comm
const ilower::HYPRE_BigInt
const iupper::HYPRE_BigInt
ijvector::HYPRE_IJVector
parvector::HYPRE_ParVector
end
Expand Down

0 comments on commit aecd442

Please sign in to comment.