From bug-request at octave dot org Tue Dec 7 11:00:20 2004 Subject: Re: varargin in range.m From: David Bateman To: Heikki dot Junes at hut dot fi Cc: bug at octave dot org Date: Tue, 7 Dec 2004 17:57:44 +0100 Yes that is pretty stupid.. Another one of my faults, when converting functions to all be N-D array aware... Sorry D. According to Heikki Johannes Junes (on 12/07/04): > I installed octave (2.1.60) from debian-testing. The following error was found: > > parse error near line 35 of file /usr/share/octave/2.1.60/m/statistics/base/range.m > > syntax error > > >>> function y = range (x, varargin{:}) > ^ > Here is the diff which corrects the problem against cvs: > > $ cvs diff scripts/statistics/base/range.m > cvs: WARNING: Read-only repository access mode selected via `cvs -R'. > Using this option to access a repository which some users write to may > cause intermittent sandbox corruption. > Index: scripts/statistics/base/range.m > =================================================================== > RCS file: /cvs/octave/scripts/statistics/base/range.m,v > retrieving revision 1.7 > diff -r1.7 range.m > 35c35 > < function y = range (x, varargin{:}) > --- > > function y = range (x, varargin) > > -- > Terveisin > Heikki Junes > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- -- David Bateman David dot Bateman at motorola dot com Motorola CRM +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------