]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Restore initial state, after abusing this testcase as a testbed for
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 14 Dec 1998 08:23:59 +0000 (08:23 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 14 Dec 1998 08:23:59 +0000 (08:23 +0000)
the new exception mechanism.

git-svn-id: https://svn.dealii.org/trunk@708 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/tensor.cc

index c49fe232f205ee36165ad5f6ba48ced9463bb118..23429aff34c00136e9b5abd5e26092519620dc24 100644 (file)
@@ -2,26 +2,9 @@
 #include <iostream>
 
 
-DeclException2 (Exc1,
-               int, int,
-               << "arg1=" << arg1 << " arg2=" << arg2);
-
-
 int main () {
   double a[3][3] = {{1, 2, 3}, {3, 4, 5}, {6, 7, 8}};
   double b[3][3] = {{25,31,37}, {45,57,69}, {75,96,117}};
-
-  try 
-    {
-      ThrowIfNot (1>2, Exc1(1,2));
-      cerr << "11111111111111111111";
-    }
-  catch (exception &e)
-    {
-      cerr << e.what();
-      cerr << "33333333333333333333";
-    };
-  
     
   const unsigned int dim=3;
   Tensor<2,dim> t(a);

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.