Skip to content

Commit 0d72705

Browse files
authored
fix segfault when executing with row major (Reference-LAPACK 768)
1 parent abbc387 commit 0d72705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lapack-netlib/LAPACKE/src/lapacke_zgeqrt_work.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ lapack_int LAPACKE_zgeqrt_work( int matrix_layout, lapack_int m, lapack_int n,
8383
}
8484
/* Transpose output matrices */
8585
LAPACKE_zge_trans( LAPACK_COL_MAJOR, m, n, a_t, lda_t, a, lda );
86-
LAPACKE_zge_trans( LAPACK_COL_MAJOR, ldt, MIN(m,n), t_t, ldt_t, t,
86+
LAPACKE_zge_trans( LAPACK_COL_MAJOR, nb, MIN(m,n), t_t, ldt_t, t,
8787
ldt );
8888
/* Release memory and exit */
8989
LAPACKE_free( t_t );

0 commit comments

Comments
 (0)