Skip to content

Commit abbc387

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lapack-netlib/LAPACKE/src/lapacke_sgeqrt_work.c

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

0 commit comments

Comments
 (0)