Skip to content

Commit b1802f4

Browse files
author
Chip Kerchner
committed
Fix unit test to start at 1 instead of 0 - since malloc zero bytes fails on some systems.
1 parent eba8615 commit b1802f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/compare_sgemm_sbgemm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ main (int argc, char *argv[])
9696
char transA = 'N', transB = 'N';
9797
float alpha = 1.0, beta = 0.0;
9898

99-
for (x = 0; x <= loop; x++)
99+
for (x = 1; x <= loop; x++)
100100
{
101101
if ((x > 100) && (x != SBGEMM_LARGEST)) continue;
102102
m = k = n = x;

0 commit comments

Comments
 (0)