From: hartmann Date: Wed, 17 Mar 2004 15:44:47 +0000 (+0000) Subject: Make it compile with gcc2.95 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43784c70c33ab73d2a8d9941e8ca68ce63dfcd0d;p=dealii-svn.git Make it compile with gcc2.95 git-svn-id: https://svn.dealii.org/trunk@8807 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/vector_equality_3.cc b/tests/bits/vector_equality_3.cc index eb52763330..cb66b4838a 100644 --- a/tests/bits/vector_equality_3.cc +++ b/tests/bits/vector_equality_3.cc @@ -34,7 +34,7 @@ void test (Vector &v, w(i) = i+1.; } - Assert (v!=w, ExcInternalError()); + Assert (v.operator != (w), ExcInternalError()); deallog << "OK" << std::endl; } diff --git a/tests/bits/vector_equality_4.cc b/tests/bits/vector_equality_4.cc index 150ae23493..f75b419d98 100644 --- a/tests/bits/vector_equality_4.cc +++ b/tests/bits/vector_equality_4.cc @@ -36,7 +36,7 @@ void test (Vector &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; }