Mercurial > octave
changeset 22756:a50b221b8e9f
ppplot.m: Fix typos from cset c38eb3b08284.
* ppplot.m: Fix failing BIST test due to leftover cruft/typos.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 13 Nov 2016 20:37:19 -0800 |
parents | 3a2b891d0b33 |
children | 90281ac10fb4 |
files | scripts/statistics/base/ppplot.m |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/statistics/base/ppplot.m Sun Nov 13 20:33:47 2016 -0800 +++ b/scripts/statistics/base/ppplot.m Sun Nov 13 20:37:19 2016 -0800 @@ -65,11 +65,11 @@ p = ((1 : n)' - 0.5) / n; if (nargin == 1) F = @stdnormal_cdf; - else if (! ischar (dist)) - error ("ppplot: DIST must me a string"); + elseif (! ischar (dist)) + error ("ppplot: DIST must be a string"); else F = str2func ([dist "cdf"]); - endif; + endif if (nargin <= 2) y = feval (F, s);