]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix constness. 14592/head
authorLuca Heltai <luca.heltai@sissa.it>
Tue, 20 Dec 2022 18:07:53 +0000 (19:07 +0100)
committerLuca Heltai <luca.heltai@sissa.it>
Tue, 20 Dec 2022 18:08:28 +0000 (19:08 +0100)
source/lac/petsc_parallel_block_sparse_matrix.cc

index 49911c8dee8bca8cd20575e7e6c92b172c478935..4d0accae14f251e329e3a960b02eeca8d784cb7d 100644 (file)
@@ -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;
     }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.