From: guido Date: Mon, 3 Jun 2002 09:11:32 +0000 (+0000) Subject: Bug in access removed X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5ae8576be3cb3cc6723c2f6c97b0ec4c7b74149;p=dealii-svn.git Bug in access removed git-svn-id: https://svn.dealii.org/trunk@5958 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/vector2d.cc b/tests/base/vector2d.cc index 87174a9d5f..3b07c83f2b 100644 --- a/tests/base/vector2d.cc +++ b/tests/base/vector2d.cc @@ -48,9 +48,9 @@ main () Assert (Ti[i][j] == Ti(i,j), ExcInternalError()); Assert (Ti[i][j] == Td(i,j), ExcInternalError()); - Assert (Td[i].begin()+j == Td(i,j), ExcInternalError()); - Assert (Ti[i].begin()+j == Ti(i,j), ExcInternalError()); - Assert (Ti[i].begin()+j == Td(i,j), ExcInternalError()); + Assert (*(Td[i].begin()+j) == Td(i,j), ExcInternalError()); + Assert (*(Ti[i].begin()+j) == Ti(i,j), ExcInternalError()); + Assert (*(Ti[i].begin()+j) == Td(i,j), ExcInternalError()); logfile << i << " " << j << " " << Td[i][j] << " ok" << std::endl; };