fix segfault when executing with row major
This commit is contained in:
parent
b0a72586a3
commit
abbc387145
|
@ -79,7 +79,7 @@ lapack_int LAPACKE_sgeqrt_work( int matrix_layout, lapack_int m, lapack_int n,
|
|||
}
|
||||
/* Transpose output matrices */
|
||||
LAPACKE_sge_trans( LAPACK_COL_MAJOR, m, n, a_t, lda_t, a, lda );
|
||||
LAPACKE_sge_trans( LAPACK_COL_MAJOR, ldt, MIN(m,n), t_t, ldt_t, t,
|
||||
LAPACKE_sge_trans( LAPACK_COL_MAJOR, nb, MIN(m,n), t_t, ldt_t, t,
|
||||
ldt );
|
||||
/* Release memory and exit */
|
||||
LAPACKE_free( t_t );
|
||||
|
|
Loading…
Reference in New Issue