Refs #492. Fixed c/zsyr bug with negative incx.

This commit is contained in:
Zhang Xianyi 2015-02-26 06:37:03 +08:00
parent ea7f9dacf4
commit cdefdb21cd
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, int n, FLOAT alpha, FLO
FUNCTION_PROFILE_START();
if (incx < 0 ) x -= (n - 1) * incx;
if (incx < 0 ) x -= (n - 1) * incx * 2;
buffer = (FLOAT *)blas_memory_alloc(1);