sort error with ranges

Michael Goffioul michael.goffioul at gmail.com
Tue Feb 5 05:09:17 CST 2008


With CVS from yesterday:

octave.exe:7> complement([1,2,3],[1,2,3,4,5])
ans =

   4   5

octave.exe:8> complement([1,2,3],1:5)
error: octave_base_value::sort (): wrong type argument `range'
error: evaluating if command near line 62, column 3
error: called from `unique' in file
`D:\Software\VCLibs\local\octave-vc8-debug\share\octave\3.0.0+\m\set\unique.m'
error: evaluating postfix operator `.'' near line 55, column 19
error: evaluating assignment expression near line 55, column 7
error: evaluating if command near line 54, column 3
error: called from `create_set' in file
`D:\Software\VCLibs\local\octave-vc8-debug\share\octave\3.0.0+\m\set\create_set.m'
error: evaluating assignment expression near line 48, column 7
error: evaluating if command near line 42, column 3
error: called from `complement' in file
`D:\Software\VCLibs\local\octave-vc8-debug\share\octave\3.0.0+\m\set\complement.m'

Michael.


More information about the Bug-octave mailing list