Re: [Cython] BUG: assignment to typed memoryview

2013-12-04 Thread Sturla Molden
On 26 Nov 2013, at 16:18, Daniele Nicolodi wrote: > Hello, > > I believe there is a bug in how assignment to typed memoryviews is > handled in the compiler. I think the following code should be valid code: > > cdef double[::1] a = np.arange(10, dtype=np.double) > cdef double[::1] b = np.emp

Re: [Cython] BUG: assignment to typed memoryview

2013-12-04 Thread Daniele Nicolodi
On 04/12/2013 12:55, Sturla Molden wrote: > > On 26 Nov 2013, at 16:18, Daniele Nicolodi wrote: > >> Hello, >> >> I believe there is a bug in how assignment to typed memoryviews is >> handled in the compiler. I think the following code should be valid code: >> >> cdef double[::1] a = np.arange