Re: [Numpy-discussion] Compilation problems npy_float64

2015-11-07 Thread Sturla Molden
Johan wrote: > Hello, I searched the forum, but couldn't find a post related to my > problem. I am installing scipy via pip in cygwin environment I think I introduced this error when moving a global variable from the Cython module to a C++ module. The name collision with math.h was silent on L

Re: [Numpy-discussion] Question about structure arrays

2015-11-07 Thread Nathaniel Smith
On Sat, Nov 7, 2015 at 1:18 PM, aerojockey wrote: > Hello, > > Recently I made some changes to a program I'm working on, and found that the > changes made it four times slower than before. After some digging, I found > out that one of the new costs was that I added structure arrays. Inside a > l

[Numpy-discussion] Question about structure arrays

2015-11-07 Thread aerojockey
Hello, Recently I made some changes to a program I'm working on, and found that the changes made it four times slower than before. After some digging, I found out that one of the new costs was that I added structure arrays. Inside a low-level loop, I create a structure array, populate it Python,