changeset 11937:a08f22ff5ba1
release-3-0-x
fplot.m: fix nargin check
author |
John W. Eaton <jwe@octave.org> |
date |
Tue, 24 Feb 2009 07:48:33 +0100 |
parents |
e896fba7e3d4 |
children |
3b5a99b63570 |
files |
scripts/ChangeLog scripts/plot/fplot.m |
diffstat |
2 files changed, 6 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-23 John W. Eaton <jwe@octave.org>
+
+ * plot/fplot.m: Fix nargin check.
+ From Joel Parker <Joel.Parker@radiancetech.com>.
+
2008-01-15 Rafael Laboissiere <rafael@debian.org>
* gethelp.cc: Include <cstdio>.
--- a/scripts/plot/fplot.m
+++ b/scripts/plot/fplot.m
@@ -40,7 +40,7 @@
## Author: Paul Kienzle <pkienzle@users.sf.net>
function fplot (fn, limits, n, linespec)
- if (nargin < 2 || nargin > 3)
+ if (nargin < 2 || nargin > 4)
print_usage ();
endif