mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-11-19 12:32:40 +01:00
fixed blas . #41
This commit is contained in:
parent
9c68623e0e
commit
a2e420e9a5
@ -162,19 +162,19 @@ integer function qmckl_dgemm_f(context, TransA, TransB, m, n, k, alpha, A, LDA,
|
||||
|
||||
if (TransA) then
|
||||
|
||||
if (alpha .eq. 1.0d0 .and. beta .eq. 0.0d0) then
|
||||
if (alpha == 1.0d0 .and. beta == 0.0d0) then
|
||||
C = matmul(AT,B)
|
||||
else
|
||||
C = beta*C + alpha*matmul(AT,B)
|
||||
endif
|
||||
else if (TransB) then
|
||||
if (alpha .eq. 1.0d0 .and. beta .eq. 0.0d0) then
|
||||
if (alpha == 1.0d0 .and. beta == 0.0d0) then
|
||||
C = matmul(A,BT)
|
||||
else
|
||||
C = beta*C + alpha*matmul(A,BT)
|
||||
endif
|
||||
else
|
||||
if (alpha .eq. 1.0d0 .and. beta .eq. 0.0d0) then
|
||||
if (alpha == 1.0d0 .and. beta == 0.0d0) then
|
||||
C = matmul(A,B)
|
||||
else
|
||||
C = beta*C + alpha*matmul(A,B)
|
||||
|
Loading…
Reference in New Issue
Block a user