]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Simplify inner solver.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Feb 2008 13:34:17 +0000 (13:34 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Feb 2008 13:34:17 +0000 (13:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@15778 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-31/step-31.cc

index eecfde44dec8bb98ff861833e6d8857e42cab190..855329f5a9f5f3600dfd3d89df06ccf08867bd68 100644 (file)
@@ -359,14 +359,7 @@ void InverseMatrix<Matrix,Preconditioner>::vmult (Vector<double>       &dst,
 
   dst = 0;
 
-  try
-    {
-      cg.solve (*matrix, dst, src, preconditioner);
-    }
-  catch (std::exception &e)
-    {
-      Assert (false, ExcMessage(e.what()));
-    }
+  cg.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.