min/max fail on int array, scalar
John W. Eaton
jwe at octave.org
Thu Mar 12 15:44:22 CDT 2009
On 9-Mar-2009, Dylan Alex Simon wrote:
| To: bug at octave.org
| Cc: dylan
| Subject: min/max fail on int array, scalar
|
| Bug report for Octave 3.0.3 configured for x86_64-unknown-linux-gnu
|
| Description:
| -----------
|
| min(scalar, int32array) works, but min(int32array, scalar) fails with:
| error: octave_base_value::int32_scalar_value(): wrong type argument `scalar'
| Likewise with other aggregate functions and other integer types.
|
| Repeat-By:
| ---------
|
| min(int32(100*rand(10,1)),50)
This problem appears to be fixed in the current development sources of
Octave.
jwe
More information about the Bug-octave
mailing list