]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a real bug uncovered by icc.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 22 Apr 2004 19:02:54 +0000 (19:02 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 22 Apr 2004 19:02:54 +0000 (19:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@9084 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_raviart_thomas.cc

index ddcc7c65d93de1484a9be4d0cd3e4ed6c5527da2..a7629aca33f256c43667ab03991dce0f3206811e 100644 (file)
@@ -1353,7 +1353,8 @@ FE_RaviartThomas<2>::compute_renumber (const unsigned int degree)
   for (unsigned int i=0; i<ret_val.size(); ++i)
     {
       Assert (ret_val[i].first < dim, ExcInternalError());
-      Assert (ret_val[i].second < test[dim].size(), ExcInternalError());
+      Assert (ret_val[i].second < test[ret_val[i].first].size(),
+             ExcInternalError());
       Assert (test[ret_val[i].first][ret_val[i].second] == false,
               ExcInternalError());
       

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.