[Pkg-octave-devel] Bug#565136: Bug#565136: octave3.2: Function interp3.m not working.
John W. Eaton
jwe at octave.org
Wed Jan 13 18:29:28 UTC 2010
On 13-Jan-2010, Jean-S bastien Kroll wrote:
|
| Branches 3.0 and 3.2 are affected by the same error. In the function
| interp3.m, there is a misplaced line break that has it not working at
| all.
|
| Following is the patch modifying the only line to be changed :
|
| --- /usr/share/octave/3.0.5/m/general/interp3.m 2009-10-12 21:05:55.000000000 +0200
| +++ ./interp3.m 2010-01-13 09:54:01.000000000 +0100
| @@ -82,7 +82,7 @@
| nargs = nargs - 2;
| endif
|
| - if (nargs < 3 || (nargs == 4 && ! isvector (varargin{1})
| + if (nargs < 3 || (nargs == 4 && ! isvector (varargin{1}) ...
| && nargs == (ndims (varargin{1}) + 1)))
What failure is caused here? Octave doesn't require continuations
inside parens, so you should be able to write
if (some_long_variable_name == some_other_variable_name
&& some_other_condition)
without needing the explicit continuation. Exactly what error are you
seeing? Give us an example that demonstrates it.
Also, it is best to report generic bugs in Octave directly to the
bug at octave.org mailing list and use the debian bug reporting system
for packaging or Debian-specific problems.
jwe
More information about the Pkg-octave-devel
mailing list