From: bangerth Date: Tue, 26 Feb 2008 13:34:17 +0000 (+0000) Subject: Simplify inner solver. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0a2833596d422d88c4be0727faab27a77744fc0;p=dealii-svn.git Simplify inner solver. git-svn-id: https://svn.dealii.org/trunk@15778 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-31/step-31.cc b/deal.II/examples/step-31/step-31.cc index eecfde44de..855329f5a9 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -359,14 +359,7 @@ void InverseMatrix::vmult (Vector &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); }