[SciPy-Dev] update on 0.11.0 status

Jake Vanderplas vanderplas@astro.washington....
Sun Jul 15 18:49:01 CDT 2012


Good catch, Ralf!
Initializing all values of dist_array to zero is the correct thing to do 
here.  I don't know how I missed that...
    Jake

On 07/15/2012 07:57 AM, Ralf Gommers wrote:
>
>
> On Wed, Jul 11, 2012 at 11:45 PM, Ralf Gommers 
> <ralf.gommers@googlemail.com <mailto:ralf.gommers@googlemail.com>> wrote:
>
>
>
>     On Tue, Jul 10, 2012 at 11:33 PM, Jake Vanderplas
>     <vanderplas@astro.washington.edu
>     <mailto:vanderplas@astro.washington.edu>> wrote:
>
>         Ralf,
>         I tried running valgrind on the offending code.  I don't see
>         anything out of the ordinary come up on my system (for
>         reference, the scikit-learn developer documentation has some
>         tips on using valgrind for cython code [1]).  This makes me
>         suspect that the error you're seeing may be a system-specific
>         issue (i.e. 32 bit/64 bit mismatch), or perhaps something
>         related to the numpy version (I'm using the current numpy
>         1.8.0-dev).
>
>         Could you run valgrind on your system with
>         test_shortest_path.py and see if anything obvious comes up?
>
>
>     It's clean, some noise related to Python itself but nothing
>     related to csgraph.
>
>     This was 32-bit python 2.6, numpy 1.8-dev by the way. I haven't
>     yet checked if I get the same when running in 64-bit mode on the
>     same machine yet.
>
>
> Found the issue (use of an array created with np.empty), see 
> http://projects.scipy.org/scipy/ticket/1701.
>
> Ralf
>
>
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20120715/f286e2bf/attachment.html 


More information about the SciPy-Dev mailing list