From c8006b388bc48ee89693e499eb900009da8724a9 Mon Sep 17 00:00:00 2001
From: Nicolas Marsic <nicolas.marsic@gmail.com>
Date: Thu, 27 Mar 2014 14:44:21 +0000
Subject: [PATCH] ** OSRC with more than one auxiliary function space seems to
 work ... \o/ YEAH ! ** Fix in Pade terms ** Fix in FunctionSpace (remove
 accumulation of offsets)

---
 FunctionSpace/FunctionSpace.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/FunctionSpace/FunctionSpace.cpp b/FunctionSpace/FunctionSpace.cpp
index 4089a3eac8..5549765625 100644
--- a/FunctionSpace/FunctionSpace.cpp
+++ b/FunctionSpace/FunctionSpace.cpp
@@ -81,9 +81,8 @@ void FunctionSpace::build(const GroupOfElement& goe, string family){
   // Build Dof //
   buildDof();
 
-  // Find next next offset //
-  size_t maxType = findMaxType();
-  nxtOffset += maxType + 1;
+  // Find next offset //
+  nxtOffset = findMaxType() + 1;
 }
 
 void FunctionSpace::buildDof(void){
-- 
GitLab