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
commit 00740c0e34
1 changed files with 1 additions and 1 deletions

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 )