From 0273a0a2e71808d856f47fd275c3e6470bc12cc6 Mon Sep 17 00:00:00 2001
From: Rene Halver <r.halver@fz-juelich.de>
Date: Mon, 2 Aug 2021 14:35:13 +0200
Subject: [PATCH] fixed bug in ALL_Tensor, missing vertex update

---
 include/ALL_Tensor.hpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/ALL_Tensor.hpp b/include/ALL_Tensor.hpp
index f7655fc..f43be8c 100644
--- a/include/ALL_Tensor.hpp
+++ b/include/ALL_Tensor.hpp
@@ -250,6 +250,8 @@ template <class T, class W> void Tensor_LB<T, W>::balance(int) {
     else
       newVertices.at(1)[i] = this->prevVertices.at(1)[i];
   }
+
+  this->setVertices(newVertices);
 }
 
 // provide list of neighbors
-- 
GitLab