Skip to content

Commit db5328e

Browse files
authored
make array dimensions constant
1 parent d9ae460 commit db5328e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

utest/test_gemv.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@
77
#ifndef INFINITY
88
#define INFINITY 1.0/0.0
99
#endif
10+
#define N 17
11+
#define Ny 33
1012

1113
#ifdef BUILD_SINGLE
1214

1315
CTEST(sgemv, 0_nan_inf)
1416
{
1517
int i;
16-
blasint N = 17;
1718
blasint incX = 1;
1819
blasint incY = 1;
1920
float alpha = 0.0;
@@ -39,8 +40,6 @@ CTEST(sgemv, 0_nan_inf)
3940
CTEST(sgemv, 0_nan_inf_incy_2)
4041
{
4142
int i;
42-
blasint N = 17;
43-
blasint Ny = 33;
4443
blasint incX = 1;
4544
blasint incY = 2;
4645
float alpha = 0.0;
@@ -73,7 +72,6 @@ CTEST(sgemv, 0_nan_inf_incy_2)
7372
CTEST(dgemv, 0_nan_inf)
7473
{
7574
int i;
76-
blasint N = 17;
7775
blasint incX = 1;
7876
blasint incY = 1;
7977
double alpha = 0.0;
@@ -99,8 +97,6 @@ CTEST(dgemv, 0_nan_inf)
9997
CTEST(dgemv, 0_nan_inf_incy_2)
10098
{
10199
int i;
102-
blasint N = 17;
103-
blasint Ny = 33;
104100
blasint incX = 1;
105101
blasint incY = 2;
106102
double alpha = 0.0;

0 commit comments

Comments
 (0)