From d54542a1491e887546b767320adf61f1e32bd3f2 Mon Sep 17 00:00:00 2001 From: Patrick Jaap <patrick.jaap@tu-dresden.de> Date: Wed, 29 Jun 2022 11:17:27 +0200 Subject: [PATCH] Some cleanup and -Wall warnings resolved --- test/mooneyrivlintest.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/mooneyrivlintest.cc b/test/mooneyrivlintest.cc index 330aedf..89a0471 100644 --- a/test/mooneyrivlintest.cc +++ b/test/mooneyrivlintest.cc @@ -52,7 +52,7 @@ int assembleAndCompare (const Basis basis, const ParameterTree parameters, const ////////////////////////////////////////////////////////////// // Compute the energy, assemble and compare! ////////////////////////////////////////////////////////////// - + VectorType gradient; MatrixType hessianMatrix; double energy = assembler.computeEnergy(x); @@ -90,7 +90,7 @@ int assembleAndCompare (const Basis basis, const ParameterTree parameters, const int main (int argc, char *argv[]) { - Dune::MPIHelper& mpiHelper = MPIHelper::instance(argc, argv); + [[maybe_unused]] Dune::MPIHelper& mpiHelper = MPIHelper::instance(argc, argv); // /////////////////////////////////////// // Create the grid @@ -126,8 +126,6 @@ int main (int argc, char *argv[]) blockedInterleaved() )); - using PowerBasis = decltype(basis); - ////////////////////////////////////////////////////////////// // Prepare the iterate x where we want to assemble ////////////////////////////////////////////////////////////// -- GitLab