]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bug in access removed
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 3 Jun 2002 09:11:32 +0000 (09:11 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 3 Jun 2002 09:11:32 +0000 (09:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@5958 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/vector2d.cc

index 87174a9d5f6dee8d907d4e6b6419d846047396f1..3b07c83f2b2f8e16c883d214762e7ec52a1a5b1e 100644 (file)
@@ -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;
       };

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.