From 0d331d272745c5a980f950df14085f74696f6725 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 15 Apr 2021 21:35:37 +0200 Subject: [PATCH] Update gemv.c --- interface/gemv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/gemv.c b/interface/gemv.c index 8f3fce18c..0971923b5 100644 --- a/interface/gemv.c +++ b/interface/gemv.c @@ -198,13 +198,13 @@ fprintf(stderr,"interface for CBLAS_?GEMV starting, order=%d trans=%d m=%ld n=%l leny = m; if (trans) lenx = m; if (trans) leny = n; - if (alpha == ZERO) return; + if (beta != ONE) { - fprintf(stderr,"CBLAS_?GEMV calling SCAL_K\n"); + fprintf(stderr,"CBLAS_?GEMV calling SCAL_K with beta=%f incy=%d\n",beta,blasabs(incy)); SCAL_K(leny, 0, 0, beta, y, blasabs(incy), NULL, 0, NULL, 0); fprintf(stderr,"CBLAS_?GEMV done calling SCAL_K\n"); } - + if (alpha == ZERO) return; IDEBUG_START;