diff --git a/tests/test_dilu.cpp b/tests/test_dilu.cpp index 2e3556175..e3edd2a8d 100644 --- a/tests/test_dilu.cpp +++ b/tests/test_dilu.cpp @@ -177,7 +177,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(SeqDILUApplyIsCorrectNoZeros, T, NumericTypes) */ const int N = 2; - const int bz = 2; + constexpr int bz = 2; const int nonZeroes = 4; using Matrix = Dune::BCRSMatrix>; using Vector = Dune::BlockVector>; @@ -286,7 +286,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(SeqDILUApplyIsCorrect1, T, NumericTypes) const int N = 2; - const int bz = 2; + constexpr int bz = 2; const int nonZeroes = 3; using Matrix = Dune::BCRSMatrix>; using Vector = Dune::BlockVector>; @@ -389,7 +389,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(SeqDILUApplyIsCorrect2, T, NumericTypes) | | 0 2| | 0 -1| | | |1| | | |4| | */ const int N = 2; - const int bz = 2; + constexpr int bz = 2; const int nonZeroes = 3; using Matrix = Dune::BCRSMatrix>; using Vector = Dune::BlockVector>; @@ -495,7 +495,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(SeqDILUDiagIsCorrect3x3, T, NumericTypes) const int N = 3; - const int bz = 3; + constexpr int bz = 3; const int nonZeroes = 5; using Matrix = Dune::BCRSMatrix>; using Vector = Dune::BlockVector>; @@ -593,7 +593,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(SeqDILUApplyIsCorrect3, T, NumericTypes) */ const int N = 3; - const int bz = 3; + constexpr int bz = 3; const int nonZeroes = 5; using Matrix = Dune::BCRSMatrix>; using Vector = Dune::BlockVector>; @@ -731,7 +731,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(SeqDILUApplyIsEqualToDuneSeqILUApply, T, NumericTy */ const int N = 2; - const int bz = 2; + constexpr int bz = 2; const int nonZeroes = 2; using Matrix = Dune::BCRSMatrix>; using Vector = Dune::BlockVector>;