From 1a65e08a305c2e6d665d901ff7794012202f5830 Mon Sep 17 00:00:00 2001
From: absingh <absingh@mpi-cbg.de>
Date: Mon, 26 Apr 2021 13:20:59 +0200
Subject: [PATCH] Synchronizing the map ctr when constructing the subset also.

---
 src/Vector/vector_dist_subset.hpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/Vector/vector_dist_subset.hpp b/src/Vector/vector_dist_subset.hpp
index 48f94ff0e..f1cfc2094 100644
--- a/src/Vector/vector_dist_subset.hpp
+++ b/src/Vector/vector_dist_subset.hpp
@@ -118,6 +118,9 @@ public:
                        int sub_id)
                        :vd(vd),pid(pid),sub_id(sub_id)
     {
+#ifdef SE_CLASS1
+        subsetUpdate_ctr=vd.getMapCtr();
+#endif
         // construct pid vector
 
         auto it = vd.getDomainIterator();
-- 
GitLab