From f25b9639bbe06abde2e9b00fb5ebd40786eb26bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Del=20Pino?= <stephane.delpino44@gmail.com>
Date: Mon, 15 May 2023 19:17:30 +0200
Subject: [PATCH] Fix compilation issue

---
 src/mesh/MeshSmoother.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesh/MeshSmoother.cpp b/src/mesh/MeshSmoother.cpp
index 26185119c..befa5cdf1 100644
--- a/src/mesh/MeshSmoother.cpp
+++ b/src/mesh/MeshSmoother.cpp
@@ -282,8 +282,8 @@ class MeshSmootherHandler::MeshSmoother
     is_displaced.fill(false);
 
     for (size_t i_zone = 0; i_zone < discrete_function_variant_list.size(); ++i_zone) {
-      auto is_zone_cell =
-        discrete_function_variant_list[i_zone]->get<const DiscreteFunctionP0<Dimension, const double>>();
+      auto is_zone_cell = discrete_function_variant_list[i_zone]->get<DiscreteFunctionP0<Dimension, const double>>();
+
       parallel_for(
         m_given_mesh.numberOfNodes(), PUGS_LAMBDA(const NodeId node_id) {
           auto node_cell_list = node_to_cell_matrix[node_id];
-- 
GitLab