From 63292873f41c4bb5a0187d5dc23fd44b5e4f13ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Del=20Pino?= <stephane.delpino44@gmail.com> Date: Mon, 29 Nov 2021 18:24:02 +0100 Subject: [PATCH] Remove useless variable (thx to clang) --- src/language/utils/IntegrateOnCells.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/language/utils/IntegrateOnCells.hpp b/src/language/utils/IntegrateOnCells.hpp index 7145c662b..180008c15 100644 --- a/src/language/utils/IntegrateOnCells.hpp +++ b/src/language/utils/IntegrateOnCells.hpp @@ -591,8 +591,6 @@ class IntegrateOnCells<OutputType(InputType)> : public PugsFunctionAdapter<Outpu const MeshType& mesh, const Array<CellId>& cell_list) { - constexpr size_t Dimension = MeshType::Dimension; - Array<OutputType> value(size(cell_list)); if (quadrature_descriptor.isTensorial()) { _tensorialIntegrateTo<MeshType, OutputArrayT>(function_symbol_id, quadrature_descriptor, mesh, -- GitLab