From 52e3f4a6ef85f982a48c8525d7ec36e85ed188a3 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Wed, 26 Jan 2011 18:58:37 +0000
Subject: [PATCH] Stupid bug: forgot a few parentheses.   Arrgghhh!!!

[[Imported from SVN: r6894]]
---
 dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh b/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh
index feccfe55..a53c9596 100644
--- a/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh
+++ b/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh
@@ -992,7 +992,7 @@ iterate(std::map<std::pair<std::string,std::string>, RigidBodyMotion<3> >& lambd
             RigidBodyMotion<3>::TangentVector& correction = interfaceCorrection[interfaceName];
             for (int j=0; j<6; j++)
                 correction[j] = (alpha_[0] * continuumCorrection[interfaceName][j] + alpha_[1] * rodCorrection[interfaceName][j])
-                                            / alpha_[0] + alpha_[1];
+                                            / (alpha_[0] + alpha_[1];
                 
         }
         
@@ -1409,7 +1409,7 @@ iterateWithContact(std::map<std::pair<std::string,std::string>, RigidBodyMotion<
             RigidBodyMotion<3>::TangentVector& correction = interfaceCorrection[interfaceName];
             for (int j=0; j<6; j++)
                 correction[j] = (alpha_[0] * continuumCorrection[interfaceName][j] + alpha_[1] * rodCorrection[interfaceName][j])
-                                            / alpha_[0] + alpha_[1];
+                                            / (alpha_[0] + alpha_[1]);
                                             
         }
         
-- 
GitLab