Merge pull request #1290 from martin-frbg/imatcopy

Use in-place transform shortcut only if matrix is square
This commit is contained in:
Martin Kroeker
2017-09-03 13:02:10 +02:00
committed by GitHub
+1 -1
View File
@@ -121,7 +121,7 @@ void CNAME( enum CBLAS_ORDER CORDER, enum CBLAS_TRANSPOSE CTRANS, blasint crows,
return;
}
#ifdef NEW_IMATCOPY
if ( *lda == *ldb ) {
if ( *lda == *ldb && *cols == *rows ) {
if ( order == BlasColMajor )
{
if ( trans == BlasNoTrans )