From: Luca Heltai Date: Tue, 20 Dec 2022 18:07:53 +0000 (+0100) Subject: Fix constness. X-Git-Tag: v9.5.0-rc1~714^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c5658b81fd48ff884f42065d0bc6c9e6965990;p=dealii.git Fix constness. --- diff --git a/source/lac/petsc_parallel_block_sparse_matrix.cc b/source/lac/petsc_parallel_block_sparse_matrix.cc index 49911c8dee..4d0accae14 100644 --- a/source/lac/petsc_parallel_block_sparse_matrix.cc +++ b/source/lac/petsc_parallel_block_sparse_matrix.cc @@ -176,7 +176,7 @@ namespace PETScWrappers return block(0, 0).get_mpi_communicator(); } - BlockSparseMatrix::operator Mat() const + BlockSparseMatrix::operator const Mat &() const { return petsc_nest_matrix; }