]> https://gitweb.dealii.org/ - dealii.git/commitdiff
step-37: fix throwing assertion
authorTimo Heister <timo.heister@gmail.com>
Tue, 1 May 2012 16:32:55 +0000 (16:32 +0000)
committerTimo Heister <timo.heister@gmail.com>
Tue, 1 May 2012 16:32:55 +0000 (16:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@25475 0785d39b-7218-0410-832d-ea1e28bc413d

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

index dd638c7f18e3b093daba0ea52086dea8522b5803..eb8224b20bf7c676c0e702ced8cbfad71f470262 100644 (file)
@@ -1056,7 +1056,7 @@ void LaplaceOperator<dim,number>::transform (number* result) const
                   transformation[5] * result[2];
     }
   else
-    ExcNotImplemented();
+    AssertThrow(false, ExcNotImplemented());
 }
 
                                  // The final function in this group
@@ -1099,7 +1099,7 @@ LaplaceOperator<dim,number>::operator=(const Tensor<2,dim> &tensor)
               ExcInternalError());
     }
   else
-    ExcNotImplemented();
+    AssertThrow(false, ExcNotImplemented());
   return *this;
 }
 

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.