Merge pull request #5035 from akva2/janitoring

Janitoring: fix dead stores
This commit is contained in:
Bård Skaflestad
2023-12-04 13:11:31 +01:00
committed by GitHub

View File

@@ -102,7 +102,7 @@ BOOST_AUTO_TEST_CASE(TestColoredDiluParallelisms3x3Matrix)
hence row 1 and 2 should have color 0, row 3 should have color 1 hence row 1 and 2 should have color 0, row 3 should have color 1
*/ */
const int N = 3; const int N = 3;
const int bz = 3; constexpr int bz = 3;
const int nonZeroes = 5; const int nonZeroes = 5;
// creating some shorthand typenames // creating some shorthand typenames
@@ -166,7 +166,7 @@ BOOST_AUTO_TEST_CASE(TestColoredDiluParallelisms5x5Simple)
| xx| | xx|
*/ */
const int N = 5; const int N = 5;
const int bz = 3; constexpr int bz = 3;
const int nonZeroes = 11; const int nonZeroes = 11;
// creating some shorthand typenames // creating some shorthand typenames
@@ -246,7 +246,7 @@ BOOST_AUTO_TEST_CASE(TestColoredDiluParallelisms5x5Tridiagonal)
The tridiagonal structure will force a strictly serial computation stage The tridiagonal structure will force a strictly serial computation stage
*/ */
const int N = 5; const int N = 5;
const int bz = 3; constexpr int bz = 3;
const int nonZeroes = 13; const int nonZeroes = 13;
// creating some shorthand typenames // creating some shorthand typenames
@@ -321,7 +321,7 @@ BOOST_AUTO_TEST_CASE(TestColoredDiluParallelisms5x5Complex)
|x x x| |x x x|
*/ */
const int N = 5; const int N = 5;
const int bz = 3; constexpr int bz = 3;
const int nonZeroes = 15; const int nonZeroes = 15;
// creating some shorthand typenames // creating some shorthand typenames