From be3f669c352ab79d096ddbef961a42093865dda5 Mon Sep 17 00:00:00 2001
From: Wenqing Wang <wenqing.wang@ufz.de>
Date: Mon, 30 Dec 2019 17:32:59 +0100
Subject: [PATCH] =?UTF-8?q?SerialExcutor]=20Fixed=20another=20bug=20in=20t?=
 =?UTF-8?q?he=20loop=20for=20the=20element=20deactivat=C3=ADon.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 NumLib/Assembler/SerialExecutor.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NumLib/Assembler/SerialExecutor.h b/NumLib/Assembler/SerialExecutor.h
index 18dc2f759e5..122ca8b34f7 100644
--- a/NumLib/Assembler/SerialExecutor.h
+++ b/NumLib/Assembler/SerialExecutor.h
@@ -166,7 +166,7 @@ struct SerialExecutor
         for (std::size_t i = 0; i < active_container_ids.size(); i++)
         {
             ((*container[active_container_ids[i]]).*method)(
-                i, std::forward<Args>(args)...);
+                active_container_ids[i], std::forward<Args>(args)...);
         }
     }
 
-- 
GitLab