From b5ae8576be3cb3cc6723c2f6c97b0ec4c7b74149 Mon Sep 17 00:00:00 2001 From: guido Date: Mon, 3 Jun 2002 09:11:32 +0000 Subject: [PATCH] Bug in access removed git-svn-id: https://svn.dealii.org/trunk@5958 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/base/vector2d.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }; -- 2.39.5