On Tue, Jun 2, 2009 at 10:15 AM, VictorMiller <victorsmil...@gmail.com> wrote: > > In converting some of my old python programs to run on SAGE I > expressions like: > > 0.5**numpy.arange(10,1,-1) > > which works fine in python, but gives a type error in SAGE. I > eventually figured out that I could > get this to work by doing > > float(0.5)**numpy.arange(10,1,-1) > > but that's a pain. Any chance that this could be fixed so that I > don't have to explicitly say float each time?
This will be fixed eventually, probably by patches we will apply to numpy at build time. Nobody has even started doing this or surveyed how hard it will be. It'll happen eventually, though. See the FAQ: http://wiki.sagemath.org/faq#Typeissuesusingscipy.2CcvxoptornumpyfromSage --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---