]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix an issue with gcc 4.0.2.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 1 Nov 2010 13:40:22 +0000 (13:40 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 1 Nov 2010 13:40:22 +0000 (13:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@22572 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/table.h

index 7903ab087f2dc1020f0b5cbcb9aa4d0ea49a4613..4a13a45fee48e124e268ca79023ef7123f2712ec 100644 (file)
@@ -1850,7 +1850,7 @@ namespace internal
     {
       Assert (i < table.size()[N-1],
               ExcIndexRange (i, 0, table.size()[N-1]));
-      return data[i];
+      return *(data+i);
     }
 
 

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.