Kris Powell

Results comments of Kris Powell

@NotSqrt @seberg I'm seeing similar behaviour where min is not propagating NaNs correctly at all, when the size of the input array gets to size 8: ``` > cat np-min-wat.py...

Hi @charris Thanks for taking a look at my post.. to answer your questions: *CPU*: ❃ sysctl -n machdep.cpu.brand_string Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz *NumPy* was installed through pip...

P.s. probably no surprise, but the same behaviour appears with max: ``` numpy version: 1.14.2 arr.dtype, arr: float64 [ 31. 487. nan] /Users/kip/ac/Environments/meh/lib/python2.7/site-packages/numpy/core/_methods.py:29: RuntimeWarning: invalid value encountered in reduce return...

Hi @charris That seems ok: ``` In [1]: import numpy as np In [2]: np.min(np.diagflat([np.nan]*10), axis=0) Out[2]: array([ nan, nan, nan, nan, nan, nan, nan, nan, nan, nan]) ``` *But*...

Hi @charris I see this behaviour also in python 3 on my Mac: ``` Python 3.6.0 (default, Jan 23 2017, 20:09:28) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin...

Hi @VictorRodriguez This was via pip install on both platforms, a fresh virtualenv in the Mac case. See above where I pasted the log for pip including compilation output for...

Hi folks Anything more info I can provide to help? Thanks

Thanks @tzickel I've not written C since a high school class many moons ago, so I'm definitely not going to figure out the smart way to solve this, but I...

Ok, one other thing that google suggested that also worked: marking c1 volatile: https://github.com/numpy/numpy/blob/d7d5cb3feccc1fc6cf57159e8b9fe0a733968706/numpy/core/src/umath/simd.inc.src#L1029 becomes: ``` /* load the first elements */ @vtype@ volatile c1 = @vpre@_load_@vsuf@((@type@*)&ip[i]); @vtype@ c2 =...

@VictorRodriguez if I run pip install numpy on my mac with python2.7, it builds from source. If I run pip install with python3, it installs from a wheel. I captured...