max does not support sparse boolean matrix

David Bateman dbateman at dbateman.org
Fri Apr 3 14:04:35 CDT 2009


pbellec wrote:
> Bug report for Octave 3.0.4 configured for i686-pc-linux-gnu
>
> Description:
> -----------
>
> Running MAX on a sparse boolean matrix results in an error message. As MAX
> supports both boolean and sparse matrix, I suspect this type was just
> omitted by the developer and that may qualify for being a "bug". I looked in
> the forum for "max sparse boolean" but I could not find a relevant post. The
> matlab version of MAX supports sparse boolean matrices.
>
>   
Something like the attached should make the behavior the same as the
full types (what does matlab do in this case?). Though I can't push the
patch at the moment as I'm in the middle of a rebuild

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)


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.max
Url: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090403/bb7da217/attachment.ksh 


More information about the Bug-octave mailing list