Use in-place transform shortcut only if matrix is square
This commit is contained in:
parent
1e9247c276
commit
254db9bd7c
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue