Octave 3.0.3 and contourf
Marco Caliari
marco.caliari at univr.it
Mon Oct 27 05:46:07 CDT 2008
Dear maintainers,
if I try contourf(peaks) in Octave 3.0.3 I get
warning: meaning may have changed due to change in precedence for && and || operators
error: patch: X and Y must be of same size
error: evaluating if command near line 230, column 3
error: called from `contourf:parse_args' in file `/usr/local/share/octave/3.0.3/m/plot/contourf.m'
error: called from `contourf' in file `/usr/local/share/octave/3.0.3/m/plot/contourf.m'
I had to modify line 230 of contourf.m
if (!isvector (X) || !isvector (Y) && any (size (X) != size (Y)))
to
if ((!isvector (X) || !isvector (Y)) && any (size (X) != size (Y)))
in order to have contourf working again.
Best regards,
Marco
More information about the Bug-octave
mailing list