]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix tests (throw in assert change)
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Feb 2013 22:11:25 +0000 (22:11 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Feb 2013 22:11:25 +0000 (22:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@28410 0785d39b-7218-0410-832d-ea1e28bc413d

tests/lac/constraints_c1.cc
tests/lac/constraints_c1_02.cc

index 7ad414bb6a87cfe7f6645e59691e3cf9b8dc0e33..338eb1eef527d89d5dc5caea8642169be082b857 100644 (file)
@@ -126,7 +126,13 @@ setup_constraints(const DoFHandler<dim>& dof_handler)
 
   deallog << "Closing" << std::endl;
   deal_II_exceptions::disable_abort_on_exception();
-  constraints.close();
+  try
+    {
+      constraints.close();
+    }
+  catch (...)
+    {
+    }  
   deallog << "Closed" << std::endl;
 }
 
index 09f25121ec3f56d93eecf581973c93274dfd8a75..a26fb1519aba1e78fbd293b678bcf73a8336fb30 100644 (file)
@@ -49,8 +49,15 @@ run()
 
   deallog << "Closing" << std::endl;
   deal_II_exceptions::disable_abort_on_exception();
-  constraints.close();
 
+  try
+    {
+      constraints.close();
+    }
+  catch (...)
+    {
+    }
+  
   deallog << "Closed" << std::endl;
 
 }

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.