summaryrefslogtreecommitdiff
path: root/interface/lapack
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2019-09-07 22:06:27 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2019-09-08 11:14:49 -0400
commit5997b6b491a7fb9b0184f4edfc1c76d16de3affa (patch)
tree408c8cf6554d63148c79766f8f4d0f389d65b1d2 /interface/lapack
parent4b21b646ea49c9e00490bb29f978d1a91a4a1192 (diff)
downloadopenblas-5997b6b491a7fb9b0184f4edfc1c76d16de3affa.tar.gz
openblas-5997b6b491a7fb9b0184f4edfc1c76d16de3affa.tar.bz2
openblas-5997b6b491a7fb9b0184f4edfc1c76d16de3affa.zip
bugfix
Diffstat (limited to 'interface/lapack')
-rw-r--r--interface/lapack/ztrtrs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/lapack/ztrtrs.c b/interface/lapack/ztrtrs.c
index 4cd423069..0536fc5d3 100644
--- a/interface/lapack/ztrtrs.c
+++ b/interface/lapack/ztrtrs.c
@@ -150,11 +150,11 @@ int NAME(char *UPLO, char* TRANS, char* DIAG, blasint *N, blasint *NRHS, FLOAT *
if (args.nthreads == 1) {
#endif
- (trtrs_single[(uplo << 2) | (trans << 1) | diag])(&args, NULL, NULL, sa, sb, 0);
+ (trtrs_single[(uplo << 3) | (trans << 1) | diag])(&args, NULL, NULL, sa, sb, 0);
#ifdef SMP
} else {
- (trtrs_parallel[(uplo << 2) | (trans << 1) | diag])(&args, NULL, NULL, sa, sb, 0);
+ (trtrs_parallel[(uplo << 3) | (trans << 1) | diag])(&args, NULL, NULL, sa, sb, 0);
}
#endif