From 0795376f0b1363f011f7f6dd41d2325cfaadceb8 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 24 May 2023 21:10:32 +0200 Subject: [PATCH] Add comment related to zero-sized matrix B --- lapack-netlib/SRC/sgelsy.f | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lapack-netlib/SRC/sgelsy.f b/lapack-netlib/SRC/sgelsy.f index 9c60f78a7..89dd39e80 100644 --- a/lapack-netlib/SRC/sgelsy.f +++ b/lapack-netlib/SRC/sgelsy.f @@ -115,6 +115,7 @@ *> B is REAL 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 @@ -147,6 +148,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