Skip to content

Commit 3e0a7b9

Browse files
committed
Refs #333. Detect the wrong parameter for zherk/zher2k.
1 parent 306d9f2 commit 3e0a7b9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

interface/syr2k.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,10 @@ void NAME(char *UPLO, char *TRANS,
146146
if (uplo_arg == 'L') uplo = 1;
147147

148148
if (trans_arg == 'N') trans = 0;
149+
#ifndef HEMM
149150
if (trans_arg == 'T') trans = 1;
150151
if (trans_arg == 'R') trans = 0;
152+
#endif
151153
if (trans_arg == 'C') trans = 1;
152154

153155
nrowa = args.n;

interface/syrk.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,10 @@ void NAME(char *UPLO, char *TRANS,
149149
if (uplo_arg == 'L') uplo = 1;
150150

151151
if (trans_arg == 'N') trans = 0;
152+
#ifndef HEMM
152153
if (trans_arg == 'T') trans = 1;
153154
if (trans_arg == 'R') trans = 0;
155+
#endif
154156
if (trans_arg == 'C') trans = 1;
155157

156158
nrowa = args.n;

0 commit comments

Comments
 (0)