diff liboctave/CMatrix.cc @ 7488:6470f946a425

another small xGELSD workspace fix
author John W. Eaton <jwe@octave.org>
date Fri, 15 Feb 2008 19:54:25 -0500
parents 6a6d2abe51ff
children 8c32f95c2639
line wrap: on
line diff
--- a/liboctave/CMatrix.cc
+++ b/liboctave/CMatrix.cc
@@ -2464,10 +2464,10 @@
 				 lwork, prwork, piwork, info));
 
       // The workspace query is broken in at least LAPACK 3.0.0
-      // through 3.1.1 when n > mnthr.  The obtuse formula below
+      // through 3.1.1 when n >= mnthr.  The obtuse formula below
       // should provide sufficient workspace for ZGELSD to operate
       // efficiently.
-      if (n > mnthr)
+      if (n >= mnthr)
 	{
 	  octave_idx_type addend = m;