]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Revert an accidential change of an unrelated function 4612/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 14 Jul 2017 15:18:44 +0000 (10:18 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 14 Jul 2017 15:18:44 +0000 (10:18 -0500)
include/deal.II/multigrid/mg_coarse.h

index ab62a4aca28bca729b636ba1dfdb8df31a8e6079..04b28f05f20818b9ca5d8116d2ac3a371f8d10de 100644 (file)
@@ -515,7 +515,9 @@ MGCoarseGridIterativeSolver<VectorType, SolverType, MatrixType, PreconditionerTy
               const VectorType   &src) const
 {
   Assert(solver!=nullptr, ExcNotInitialized());
-  solver->solve(matrix, dst, src, preconditioner);
+  Assert(matrix!=nullptr, ExcNotInitialized());
+  Assert(preconditioner!=nullptr, ExcNotInitialized());
+  solver->solve(*matrix, dst, src, *preconditioner);
 }
 
 

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.