Mercurial > hg > octave-nkf
changeset 7428:0c11c6907c38
[project @ 2008-01-29 23:28:10 by jwe]
author | jwe |
---|---|
date | Tue, 29 Jan 2008 23:28:11 +0000 |
parents | 65f0a8ced9d2 |
children | 744f522dbabe |
files | scripts/ChangeLog scripts/strings/str2double.m |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,4 +1,8 @@ -2008-01-28 Michael Goffioul <michael.goffioul@gmail.com> +2008-01-29 John W. Eaton <jwe@octave.org> + + * strings/str2double.m: Delete unused variable FLAG_OCTAVE. + +2008-01-28 Michael Goffioul <michael.goffioul@gmail.com> * plot/xlabel.m, plot/ylabel.m, plot/zlabel.m: Return the label handle, not the current axis handle.
--- a/scripts/strings/str2double.m +++ b/scripts/strings/str2double.m @@ -81,8 +81,6 @@ function [num, status, strarray] = str2double (s, cdelim, rdelim, ddelim) - FLAG_OCTAVE = exist('OCTAVE_VERSION','builtin'); - ## digits, sign, exponent,NaN,Inf ## valid_char = '0123456789eE+-.nNaAiIfF'; @@ -114,7 +112,7 @@ endif if (nargin < 4) - ddelim = '.'; + ddelim = "."; elseif (length (ddelim) != 1) error ("decimal delimiter must be exactly one character"); endif