Skip to content

Commit cdefdb2

Browse files
committed
Refs #492. Fixed c/zsyr bug with negative incx.
1 parent ea7f9da commit cdefdb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

interface/zsyr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, int n, FLOAT alpha, FLO
173173

174174
FUNCTION_PROFILE_START();
175175

176-
if (incx < 0 ) x -= (n - 1) * incx;
176+
if (incx < 0 ) x -= (n - 1) * incx * 2;
177177

178178
buffer = (FLOAT *)blas_memory_alloc(1);
179179

0 commit comments

Comments
 (0)