Skip to content

Commit b0a7258

Browse files
authored
fix segfault when executing with row major
1 parent c0da3af commit b0a7258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lapack-netlib/LAPACKE/src/lapacke_dgeqrt_work.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ lapack_int LAPACKE_dgeqrt_work( int matrix_layout, lapack_int m, lapack_int n,
8080
}
8181
/* Transpose output matrices */
8282
LAPACKE_dge_trans( LAPACK_COL_MAJOR, m, n, a_t, lda_t, a, lda );
83-
LAPACKE_dge_trans( LAPACK_COL_MAJOR, ldt, MIN(m,n), t_t, ldt_t, t,
83+
LAPACKE_dge_trans( LAPACK_COL_MAJOR, nb, MIN(m,n), t_t, ldt_t, t,
8484
ldt );
8585
/* Release memory and exit */
8686
LAPACKE_free( t_t );

0 commit comments

Comments
 (0)