]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix asserttion in test
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Sep 2013 13:31:23 +0000 (13:31 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Sep 2013 13:31:23 +0000 (13:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@30787 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/periodicity_01.cc

index 413029deebc9d2145023bb4b0ad7179d52dc1a7a..04e7137ea11e5e2e992a87305e0691c21d17d821 100644 (file)
@@ -351,7 +351,7 @@ namespace Step40
         {
           std::cout<<point1<< "\t" << value1[0] << std::endl;
           std::cout<<point2<< "\t" << value2[0] << std::endl;
-          ExcInternalError();
+          Assert(false, ExcInternalError());
         }
       }
     }
@@ -401,14 +401,14 @@ namespace Step40
         {
           std::cout<<point1<< "\t" << value1[0] << std::endl;
           std::cout<<point2<< "\t" << value2[0] << std::endl;
-          ExcInternalError();
+          Assert(false, ExcInternalError());
         }
         pcout << point3 << "\t" << value3[0] << std::endl;
         if (std::abs(value4[0]-value3[0])>1e-8)
         {
           std::cout<<point3<< "\t" << value3[0] << std::endl;
           std::cout<<point4<< "\t" << value4[0] << std::endl;
-          ExcInternalError();
+          Assert(false, ExcInternalError());
         }
       }
     }

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.