On Jul 29, 7:22 pm, Robert Bradshaw <rober...@math.washington.edu> 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 --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---