On Sun, Aug 24, 2008 at 11:43 AM, nadyl <[EMAIL PROTECTED]> wrote: > > > Thanks for the answer > >> Thanks a lot for the spot. I made it: >> >> http://code.google.com/p/sympy/issues/detail?id=1030 >> >> It should be fixed in the LatexPrinter sympy/printing/latex.py. >> Actually there is a code for this already: >> >> if expr.exp.is_negative: >> return r"\frac{1}{%s}" % tex >> else: >> return tex >> > > I look in the files sympy/printing/latex.py but I did'nt find the > previous line. > Is it a problem of version (I recall I use the 0.5.8 provided in > ubuntu packages) ?
Yes, 0.5.8 is too old, that code is in recent versions. > > >> Could anyone please look into it why it isn't working? >> > > So it is possible that it works in fact ! See the issue above for the patch from Sebastian that makes it work. It should be fixed in the next sympy release. Please report all other bugs that you encounter. It's very valuable for us. Thanks, Ondrej --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---