From 4cf1d6b333f0132bd02420e672c0dc4fd8842b2c Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 24 May 2023 21:12:09 +0200 Subject: [PATCH] Add comment related to zero-sized matrix B --- lapack-netlib/SRC/zgelsy.f | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lapack-netlib/SRC/zgelsy.f b/lapack-netlib/SRC/zgelsy.f index 65fa87ae9..497becf8b 100644 --- a/lapack-netlib/SRC/zgelsy.f +++ b/lapack-netlib/SRC/zgelsy.f @@ -116,6 +116,7 @@ *> B is COMPLEX*16 array, dimension (LDB,NRHS) *> On entry, the M-by-NRHS right hand side matrix B. *> On exit, the N-by-NRHS solution matrix X. +*> If M = 0 or N = 0, B is not referenced. *> \endverbatim *> *> \param[in] LDB @@ -148,6 +149,7 @@ *> The effective rank of A, i.e., the order of the submatrix *> R11. This is the same as the order of the submatrix T11 *> in the complete orthogonal factorization of A. +*> If NRHS = 0, RANK = 0 on output. *> \endverbatim *> *> \param[out] WORK