[Changeset] Re: bitor
David Bateman
David.Bateman at motorola.com
Tue May 6 03:46:53 CDT 2008
Bill Denney wrote:
> Ajith Kamath wrote:
>
>> Hi,
>>
>> I am unable to evaluate expressions of this type:
>>
>> bitor(1 == 1,2 == 2)
>>
>> Octave Output:
>> error: bitor: invalid operand type
>>
>> Matlab output:
>>
>> ans =
>>
>> 1
>>
>>
> Hello Ajith,
>
> I won't disagree that this is a bug,
Yes its a bug, as the boolean scalars should just be treated as scalars.
The attached changeset addresses this.
D.
--
David Bateman David.Bateman at motorola.com
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8048
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080506/7211cd40/attachment.ksh
More information about the Bug-octave
mailing list