On Tue, Sep 22, 2009 at 1:07 PM, Ondrej Certik <ond...@certik.cz> wrote: > On Tue, Sep 22, 2009 at 12:51 PM, Ryan Krauss <ryanli...@gmail.com> wrote: >> I just lost a few hours of my day to a problem that turn out to be cse >> returning things like >> >> expr**(3/2) >> >> I wrote some code to take the cse output and autogenerate some Python code I >> was using with numpy and numerical analysis. How difficult would it be to >> add an option to cse to make it output expr**(3.0/2)? > > 3/2 is Integer(3)/Integer(2) > > so just fix your autogeneration tool. Or are you using some sympy > autogeneration functions? If so, which? Let's fix those.
autogeneration -> codegeneration O. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---