From 35968e074b5e0eee1549759af4485a9c3b19a3ed Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 24 May 2023 21:06:36 +0200 Subject: [PATCH] Add comment related to zero-sized matrix B --- lapack-netlib/SRC/cgelsy.f | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lapack-netlib/SRC/cgelsy.f b/lapack-netlib/SRC/cgelsy.f index 67140f191..64bb10023 100644 --- a/lapack-netlib/SRC/cgelsy.f +++ b/lapack-netlib/SRC/cgelsy.f @@ -116,6 +116,7 @@ *> B is COMPLEX 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