[SciPy-user] Weird label behaviour in ndimage

Alexander Borghgraef alexander.borghgraef.rma@gmail....
Wed Sep 19 04:05:05 CDT 2007


On 9/18/07, Reynaldo Baquerizo <skraelings001@gmail.com> wrote:
>
>
> You have a buggy version of scipy, it works fine for me:
>
> > In [4]: a = zeros((5,4))
> >
> > In [5]: b = ndimage.label(a)[0]
> >
> > In [6]: ndimage.maximum(a)
> > Out[6]: 0.0
> >
> > In [7]: ndimage.maximum(b)
> > Out[7]: 0.0
>

Hmm, damn. I've got numpy 1.0.1 and scipy 0.5.1 installed on Fedora Core 6.
Has
anyone else encountered this bug before? I guess I'll have to harass our
sysadmin
to install a more recent version.

--
Alex


-- 
Alex Borghgraef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070919/1b100302/attachment.html 


More information about the SciPy-user mailing list