Thanks for writing the patch and preventing me from duplicating your efforts. I am having trouble applying your patch. The only difference between my repo and the current sympy main repo is line 732 of core/mul.py:
r...@ryan-duo-laptop|07:56 AM|sympy (master)$ git di diff --git a/sympy/core/mul.py b/sympy/core/mul.py index 55fe964..4831c70 100644 --- a/sympy/core/mul.py +++ b/sympy/core/mul.py @@ -732,7 +732,7 @@ class Mul(AssocOp): if o.exp.is_positive: for i in range(o.exp): otemp.append(o.base) elif o.exp.is_negative: for i in range(abs(o.exp)): otemp.append(1/s.base)otemp.appe else: otemp.append(o) for s in terms_self: if isinstance(s,Pow) and isinstance(s.exp, Integer): where I swicthed s.base to o.base. But when I try to apply your patch I get: r...@ryan-duo-laptop|07:56 AM|sympy (master)$ git apply ~/Downloads/0001-mul-_eval_subs.patch error: patch failed: sympy/core/mul.py:726 error: sympy/core/mul.py: patch does not apply Can you easily regenerate the patch using the current sympy repo? Or is there some other way for me to use your code? It seems like your patch has a lot more going on than just changing the one line like I was going to do. Can you please help me understand what all you did? Thanks, Ryan On Tue, Sep 8, 2009 at 5:28 AM, smichr <smi...@gmail.com> wrote: > > This is issue 1630. > > /c > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---