From deaac5dad6ac28acc32ec67402ce074dd3357d38 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Fri, 28 Oct 2011 18:36:56 +0200
Subject: [PATCH] Fix computation (Don't ask me why this is a fix!)

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

diff --git a/src/myblockproblem.hh b/src/myblockproblem.hh
index 1457c813..283f303f 100644
--- a/src/myblockproblem.hh
+++ b/src/myblockproblem.hh
@@ -125,8 +125,8 @@ class MyBlockProblem<ConvexProblemTypeTEMPLATE>::IterateObject {
         Dune::minimise(localJ, ui_copy, correction);
         ui_copy += correction;
       }
-
-      ui = ui_copy;
+      // FIXME: this makes no sense. Why does it work this way?!
+      ui -= ui_copy;
       return;
     }
 
-- 
GitLab