]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make it compile with gcc2.95
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Mar 2004 15:44:47 +0000 (15:44 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Mar 2004 15:44:47 +0000 (15:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@8807 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/vector_equality_3.cc
tests/bits/vector_equality_4.cc

index eb52763330fcfc7905960674add0616b951e311c..cb66b4838a54cfa59a19f10d77c89c324f36751e 100644 (file)
@@ -34,7 +34,7 @@ void test (Vector<double> &v,
         w(i) = i+1.;
     }
 
-  Assert (v!=w, ExcInternalError());
+  Assert (v.operator != (w), ExcInternalError());
 
   deallog << "OK" << std::endl;
 }
index 150ae2349326ca228a39276aedbbcaee6671ab90..f75b419d98419588ac66dc7cb9de88c4ecf5b7c9 100644 (file)
@@ -36,7 +36,7 @@ void test (Vector<double> &v,
                                    // but then copy elements and make sure the
                                    // vectors are actually equal
   v = w;
-  Assert (! (v!=w), ExcInternalError());
+  Assert (! (v.operator != (w)), ExcInternalError());
 
   deallog << "OK" << 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.