Skip to content

Commit 91bde7d

Browse files
authored
Exchange rows and cols in final omatcopy with BlasTrans
This is MicMuc's patch from #899
1 parent 482015f commit 91bde7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

interface/zimatcopy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ void CNAME( enum CBLAS_ORDER CORDER, enum CBLAS_TRANSPOSE CTRANS, blasint crows,
238238
if ( trans == BlasTrans )
239239
{
240240
OMATCOPY_K_RT(*rows, *cols, alpha[0], alpha[1], a, *lda, b, *ldb );
241-
OMATCOPY_K_RN(*rows, *cols, (FLOAT) 1.0, (FLOAT) 0.0 , b, *ldb, a, *ldb );
241+
OMATCOPY_K_RN(*cols, *rows, (FLOAT) 1.0, (FLOAT) 0.0 , b, *ldb, a, *ldb );
242242
free(b);
243243
return;
244244
}

0 commit comments

Comments
 (0)