Re: [Numpy-discussion] .max(0) on reshaped array returns inconsistent results.

2012-05-25 Thread Pauli Virtanen
25.05.2012 13:46, Thouis (Ray) Jones kirjoitti: > I'm seeing some strange behavior from .max() on a reshaped array in > the current master, and wanted to raise it here to make sure it's not > something uniquely broken in my setup. > > This code fails for me, though changing the context (adding a c

Re: [Numpy-discussion] .max(0) on reshaped array returns inconsistent results.

2012-05-25 Thread Thouis (Ray) Jones
On May 25, 2012 5:30 PM, "Thouis (Ray) Jones" wrote: > It happens at HEAD in Nathan's separate-maskna branch, as well. Sorry, Nathaniel's branch. My fingers went into autopilot. Ray ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://m

Re: [Numpy-discussion] .max(0) on reshaped array returns inconsistent results.

2012-05-25 Thread Thouis (Ray) Jones
I've bisected it down to this commit: https://github.com/numpy/numpy/commit/aed9925a9d5fe9a407d0ca2c65cb577116c4d0f1 This exercises it consistently for me: while True; do python -m nose.core ../numpy.bisect/numpy/lib/tests/test_function_base.py:TestHistogramdd --pdb --pdb-failures; done It happen

Re: [Numpy-discussion] .max(0) on reshaped array returns inconsistent results.

2012-05-25 Thread Thouis Jones
On Fri, May 25, 2012 at 2:07 PM, Thouis Jones wrote: > I don't seem to be able to reproduce with just a.max(0) or > np.array(a.max(0), np.float), but since it seems to be very unstable > to other changes in the code, I'll keep trying to find out if I can > make those simpler versions crash. By th

Re: [Numpy-discussion] .max(0) on reshaped array returns inconsistent results.

2012-05-25 Thread Thouis Jones
On Fri, May 25, 2012 at 1:52 PM, Nathaniel Smith wrote: > On Fri, May 25, 2012 at 12:46 PM, Thouis (Ray) Jones wrote: >> I'm seeing some strange behavior from .max() on a reshaped array in >> the current master, and wanted to raise it here to make sure it's not >> something uniquely broken in my

Re: [Numpy-discussion] .max(0) on reshaped array returns inconsistent results.

2012-05-25 Thread Nathaniel Smith
On Fri, May 25, 2012 at 12:46 PM, Thouis (Ray) Jones wrote: > I'm seeing some strange behavior from .max() on a reshaped array in > the current master, and wanted to raise it here to make sure it's not > something uniquely broken in my setup. > > This code fails for me, though changing the context

[Numpy-discussion] .max(0) on reshaped array returns inconsistent results.

2012-05-25 Thread Thouis (Ray) Jones
I'm seeing some strange behavior from .max() on a reshaped array in the current master, and wanted to raise it here to make sure it's not something uniquely broken in my setup. This code fails for me, though changing the context (adding a counter to the loop, or running under "python -i") sometime