Exchange rows and cols in final omatcopy with BlasTrans

This is MicMuc's patch from #899
This commit is contained in:
Martin Kroeker 2017-07-15 22:02:53 +02:00 committed by GitHub
parent 482015f8d6
commit 91bde7d315
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ void CNAME( enum CBLAS_ORDER CORDER, enum CBLAS_TRANSPOSE CTRANS, blasint crows,
if ( trans == BlasTrans ) if ( trans == BlasTrans )
{ {
OMATCOPY_K_RT(*rows, *cols, alpha[0], alpha[1], a, *lda, b, *ldb ); OMATCOPY_K_RT(*rows, *cols, alpha[0], alpha[1], a, *lda, b, *ldb );
OMATCOPY_K_RN(*rows, *cols, (FLOAT) 1.0, (FLOAT) 0.0 , b, *ldb, a, *ldb ); OMATCOPY_K_RN(*cols, *rows, (FLOAT) 1.0, (FLOAT) 0.0 , b, *ldb, a, *ldb );
free(b); free(b);
return; return;
} }