]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix bug.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 5 May 2000 14:06:03 +0000 (14:06 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 5 May 2000 14:06:03 +0000 (14:06 +0000)
git-svn-id: https://svn.dealii.org/trunk@2800 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_indices.h

index fdfab30246c903b67c815e8da864652d7b66982d..d1b5ac4f0ad519820e0e67a1c0c2490443f371c4 100644 (file)
@@ -129,7 +129,7 @@ BlockIndices<n_blocks>::reinit (const vector<unsigned int> &n)
 
   start_indices[0] = 0;
   for (unsigned int i=1; i<=n_blocks; ++i)
-    start_indices[i] = start_indices[i-1] + n[i];
+    start_indices[i] = start_indices[i-1] + n[i-1];
 };
 
 

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.