Robert Bradshaw wrote: > On Jul 29, 2009, at 9:46 AM, Dag Sverre Seljebotn wrote: > >> Robert Bradshaw wrote: >>> I'm not sure if or when either of these will be available, but >>> neither are trivial. Both questions are probably better asked on the >>> cython lists. >>> >>> - Robert >>> >>> >>> On Jul 22, 2009, at 12:17 PM, Ethan Van Andel wrote: >>> >>>> Robert, >>>> >>>> Is there any prediction for when numpy complex types will work? >>>> (outside of the notebook, when compiling via sage -b) >> >> I assume this will happen when Cython is upgraded in Sage, i.e. #6438 / >> 4.1.1. If it doesn't, please send cython-dev (or me if you can't be >> bothered) a mail. > > No, that doesn't work with plain Cython either. Perhaps we need to > require casting with extern typedefs?
Ahh, of course; "Cython complex" (either C99 or custom structs) are not compatible with NumPy structs. I've selected this strategy: http://trac.cython.org/cython_trac/ticket/347 Fix is up in cython repo. -- Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
