Skip to content

Commit f3e6172

Browse files
committed
fix it again...
1 parent 74c0d91 commit f3e6172

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

UnitTests/Common/toolboxes/CQuasiNewtonInvLeastSquares_tests.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333

3434
struct Problem {
3535
static constexpr int N = 4;
36-
const passivedouble coeffs[][N] = {{0.5, -0.7, 0.2, 3.0},
37-
{1.0, -0.2, -0.6, 0.0},
38-
{0.1, 0.2, 3.14, -1.0},
39-
{-1.0, -0.4, 0.0, 1.6}};
36+
const passivedouble coeffs[N][N] = {{0.5, -0.7, 0.2, 3.0},
37+
{1.0, -0.2, -0.6, 0.0},
38+
{0.1, 0.2, 3.14, -1.0},
39+
{-1.0, -0.4, 0.0, 1.6}};
4040
/*--- Row sum, sol should be {1.0}. ---*/
41-
const passivedouble rhs[] = {3.0, 0.2, 2.44, 0.2};
41+
const passivedouble rhs[N] = {3.0, 0.2, 2.44, 0.2};
4242
passivedouble sol[N] = {0.0};
4343

4444
template<class T>

0 commit comments

Comments
 (0)