Mercurial > hg > octave-nkf
diff scripts/linear-algebra/cond.m @ 2360:8fc0fa7ae9ca
[project @ 1996-10-10 22:36:46 by jwe]
author | jwe |
---|---|
date | Thu, 10 Oct 1996 22:39:02 +0000 |
parents | 949ab8eba8bc |
children | 8b262e771614 |
line wrap: on
line diff
--- a/scripts/linear-algebra/cond.m +++ b/scripts/linear-algebra/cond.m @@ -31,7 +31,7 @@ if (nargin == 1) [nr, nc] = size (a); if (nr == 0 && nc == 0) - if (strcmp (propagate_empty_matrices, "false")) + if (! propagate_empty_matrices) error ("cond: empty matrix is invalid as argument"); endif if (strcmp (propagate_empty_matrices, "warn"))