Browse Source

Exchange rows and cols in final omatcopy with BlasTrans

This is MicMuc's patch from #899
tags/v0.2.20^2
Martin Kroeker GitHub 8 years ago
parent
commit
91bde7d315
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      interface/zimatcopy.c

+ 1
- 1
interface/zimatcopy.c View File

@@ -238,7 +238,7 @@ void CNAME( enum CBLAS_ORDER CORDER, enum CBLAS_TRANSPOSE CTRANS, blasint crows,
if ( trans == BlasTrans )
{
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);
return;
}


Loading…
Cancel
Save