max does not support sparse boolean matrix

David Bateman dbateman at dbateman.org
Sat Apr 4 02:38:00 CDT 2009


Jaroslav Hajek wrote:
> On Fri, Apr 3, 2009 at 11:24 PM, pbellec <pbellec at bic.mni.mcgill.ca> wrote:
>   
>> Thanks for the quick answer David. I will try to apply the patch and
>> recompile next week. I am not sure I correctly understands what the patch
>> does though
>>
>> David Bateman-2 wrote:
>>     
>>> Something like the attached should make the behavior the same as the full
>>> types
>>>
>>>       
>> If it is converting the max to a full array, that would not do. if max is
>> just a scalar it would have no impact, but commands like max(a,[],1) can
>> generate big vectors or arrays. It would be important to keep the sparse
>> attribute, and also the boolean type for cases where memory load is a
>> critical issue.
>>
>>     
>
> No, it just converts a sparse bool matrix to sparse double. That's acceptable.
> David, if you have limited access now, would you like me to apply your patch?
>
> regards
>
>   
its applied ;-)

D.


-- 
David Bateman                                dbateman at dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



More information about the Bug-octave mailing list