Fix incorrect call to GEMM in ctrevc3.f and ztrevc3.f: alpha should have complex...
authorEugene Chereshnev <eugene.chereshnev@intel.com>
Mon, 29 Aug 2016 06:31:18 +0000 (13:31 +0700)
committerEugene Chereshnev <eugene.chereshnev@intel.com>
Mon, 29 Aug 2016 06:31:18 +0000 (13:31 +0700)
SRC/ctrevc3.f
SRC/ztrevc3.f

index 279f147..1340116 100644 (file)
 *              When the number of vectors stored reaches NB,
 *              or if this was last vector, do the GEMM
                IF( (IV.EQ.NB) .OR. (KI.EQ.N) ) THEN
-                  CALL CGEMM( 'N', 'N', N, IV, N-KI+IV, ONE,
+                  CALL CGEMM( 'N', 'N', N, IV, N-KI+IV, CONE,
      $                        VL( 1, KI-IV+1 ), LDVL,
      $                        WORK( KI-IV+1 + (1)*N ), N,
      $                        CZERO,
index ad23ae7..6656852 100644 (file)
 *              When the number of vectors stored reaches NB,
 *              or if this was last vector, do the GEMM
                IF( (IV.EQ.NB) .OR. (KI.EQ.N) ) THEN
-                  CALL ZGEMM( 'N', 'N', N, IV, N-KI+IV, ONE,
+                  CALL ZGEMM( 'N', 'N', N, IV, N-KI+IV, CONE,
      $                        VL( 1, KI-IV+1 ), LDVL,
      $                        WORK( KI-IV+1 + (1)*N ), N,
      $                        CZERO,