]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compiling with complex PETSc
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 24 May 2018 13:22:00 +0000 (15:22 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 25 May 2018 14:17:10 +0000 (16:17 +0200)
source/multigrid/mg_transfer_prebuilt.cc

index 9b52c926eae62d466f84bb387c2f3bd8ee52cad2..8d2205bb4b5661a9ba6a953015ba8645469fa842 100644 (file)
@@ -311,7 +311,7 @@ MGTransferPrebuilt<VectorType>::build_matrices(
         mg_dof);
       dsp.reinit(0, 0);
 
-      FullMatrix<double> prolongation;
+      FullMatrix<typename VectorType::value_type> prolongation;
 
       // now actually build the matrices
       for (cell = mg_dof.begin(level); cell != endc; ++cell)

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.