From 5095031228b164c95443759f784c585b4edd4229 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Tue, 10 May 2022 16:43:53 +0200
Subject: [PATCH] [PL/DS] Simplify tautology.

---
 ProcessLib/ProcessVariable.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ProcessLib/ProcessVariable.cpp b/ProcessLib/ProcessVariable.cpp
index d06e0bf3f2c..440b79123fe 100644
--- a/ProcessLib/ProcessVariable.cpp
+++ b/ProcessLib/ProcessVariable.cpp
@@ -332,8 +332,7 @@ void ProcessVariable::updateDeactivatedSubdomains(double const time)
                         [&](auto const& ds)
                         { return is_active_in_subdomain(element_id, *ds); }))
         {
-            _ids_of_active_elements.push_back(
-                _mesh.getElement(element_id)->getID());
+            _ids_of_active_elements.push_back(element_id);
         }
     }
 }
-- 
GitLab