]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed dangerous bug in index counter
authorToby D. Young <tyoung@ippt.pan.pl>
Mon, 31 Jan 2011 11:21:36 +0000 (11:21 +0000)
committerToby D. Young <tyoung@ippt.pan.pl>
Mon, 31 Jan 2011 11:21:36 +0000 (11:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@23276 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/slepc_solver.h

index 3accb6229a71cede3a0214f6d2575da618694533..4a6522cf261c0b7fff235c6f4140e4ee107e66b6 100644 (file)
@@ -673,9 +673,8 @@ namespace SLEPcWrappers
       vr.resize (n_converged, vr.front());
       kr.resize (n_converged);
 
-      for (unsigned int index=0; index < n_converged;
-          +index)
-       get_eigenpair (index, kr[index], vr[index]);
+      for (unsigned int index=0; index < n_converged; ++index)
+       get_eigenpair (index,5D kr[index], vr[index]);
     }
 
   template <typename OutputVector>

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.