From bd24a5b24afd860fe2211ed9e200aac178a25251 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Sun, 30 Oct 2011 02:01:16 +0200
Subject: [PATCH] Fix logical bug: Forgotten `continue'

---
 src/myblockproblem.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/myblockproblem.hh b/src/myblockproblem.hh
index a294346c..30942301 100644
--- a/src/myblockproblem.hh
+++ b/src/myblockproblem.hh
@@ -108,8 +108,8 @@ class MyBlockProblem<ConvexProblemTypeTEMPLATE>::IterateObject {
         int const j = it.index();
         if (j == m)
           localA = &(*it); // localA = &A[m][m]
-
-        it->mmv(u[j], localb); // localb += A[m][j] * u[j]
+        else
+          it->mmv(u[j], localb); // localb += A[m][j] * u[j]
       }
       assert(localA != NULL);
 
@@ -125,7 +125,7 @@ class MyBlockProblem<ConvexProblemTypeTEMPLATE>::IterateObject {
         Dune::minimise(localJ, ui_copy, correction);
         ui_copy += correction;
       }
-      ui += ui_copy;
+      ui = ui_copy;
       return;
     }
 
-- 
GitLab