diff src/DLD-FUNCTIONS/lu.cc @ 4329:d53c33d93440

[project @ 2003-02-18 20:00:48 by jwe]
author jwe
date Tue, 18 Feb 2003 20:08:20 +0000
parents b11f9c33558f
children 23b37da9fd5b
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/lu.cc
+++ b/src/DLD-FUNCTIONS/lu.cc
@@ -65,6 +65,8 @@
   0  1\n\
   1  0\n\
 @end example\n\
+\n\
+The matrix is not required to be square..\n\
 @end deftypefn")
 {
   octave_value_list retval;
@@ -89,12 +91,6 @@
   else if (arg_is_empty > 0)
     return octave_value_list (3, Matrix ());
 
-  if (nr != nc)
-    {
-      gripe_square_matrix_required ("lu");
-      return retval;
-    }
-
   if (arg.is_real_type ())
     {
       Matrix m = arg.matrix_value ();