Re: Issue 2851 in sympy: logcombine(log(3) - log(2)) does nothing

2011-11-19 Thread sympy
Comment #11 on issue 2851 by asmeu...@gmail.com: logcombine(log(3) - log(2)) does nothing http://code.google.com/p/sympy/issues/detail?id=2851 Whatever function (I'm not sure which would do it right now), would manually do it I guess. I guess we could modify factor() to do it as part of

Re: Issue 2851 in sympy: logcombine(log(3) - log(2)) does nothing

2011-11-18 Thread sympy
Comment #9 on issue 2851 by asmeu...@gmail.com: logcombine(log(3) - log(2)) does nothing http://code.google.com/p/sympy/issues/detail?id=2851 are you referring to the discussion on issue 2397 ? No, that wasn't it. There was some lengthy discussion that we had about what logs should

Re: Issue 2851 in sympy: logcombine(log(3) - log(2)) does nothing

2011-11-18 Thread sympy
Comment #10 on issue 2851 by smi...@gmail.com: logcombine(log(3) - log(2)) does nothing http://code.google.com/p/sympy/issues/detail?id=2851 Yes, it will stay...but how do you factor it into that form. Maybe there is a factor option...? -- You received this message because you are

Issue 2851 in sympy: logcombine(log(3) - log(2)) does nothing

2011-11-17 Thread sympy
Status: Accepted Owner: Labels: Type-Defect Priority-Medium Simplify New issue 2851 by ronan.l...@gmail.com: logcombine(log(3) - log(2)) does nothing http://code.google.com/p/sympy/issues/detail?id=2851 logcombine(log(3) - log(2)) should return log(3/2) but it doesn't. This used to

Re: Issue 2851 in sympy: logcombine(log(3) - log(2)) does nothing

2011-11-17 Thread sympy
Updates: Cc: smi...@gmail.com Comment #1 on issue 2851 by ronan.l...@gmail.com: logcombine(log(3) - log(2)) does nothing http://code.google.com/p/sympy/issues/detail?id=2851 Bisected to: commit 9dc1d111d489624eef3b0c9481c3e6d99cd869e0 Author: Chris Smith smi...@gmail.com Date: Fri

Re: Issue 2851 in sympy: logcombine(log(3) - log(2)) does nothing

2011-11-17 Thread sympy
Comment #2 on issue 2851 by asmeu...@gmail.com: logcombine(log(3) - log(2)) does nothing http://code.google.com/p/sympy/issues/detail?id=2851 It's because we have: In [46]: log(S(3)/2) Out[46]: -log(2) + log(3) so obviously it's impossible for logcombine to combine them. Perhaps this

Re: Issue 2851 in sympy: logcombine(log(3) - log(2)) does nothing

2011-11-17 Thread sympy
Updates: Status: NeedsDecision Comment #3 on issue 2851 by asmeu...@gmail.com: logcombine(log(3) - log(2)) does nothing http://code.google.com/p/sympy/issues/detail?id=2851 By the way, I remember being not sure about this change. Perhaps Chris will remember where the discussion

Re: Issue 2851 in sympy: logcombine(log(3) - log(2)) does nothing

2011-11-17 Thread sympy
Comment #4 on issue 2851 by ronan.l...@gmail.com: logcombine(log(3) - log(2)) does nothing http://code.google.com/p/sympy/issues/detail?id=2851 Right, I had forgotten about that, but if you step through the code, you can see that it doesn't even try to return log(3/2), and there is the

Re: Issue 2851 in sympy: logcombine(log(3) - log(2)) does nothing

2011-11-17 Thread sympy
Comment #5 on issue 2851 by smi...@gmail.com: logcombine(log(3) - log(2)) does nothing http://code.google.com/p/sympy/issues/detail?id=2851 see also duplicate(?) issue 2709 -- You received this message because you are subscribed to the Google Groups sympy-issues group. To post to this

Re: Issue 2851 in sympy: logcombine(log(3) - log(2)) does nothing

2011-11-17 Thread sympy
Comment #6 on issue 2851 by smi...@gmail.com: logcombine(log(3) - log(2)) does nothing http://code.google.com/p/sympy/issues/detail?id=2851 are you referring to the discussion on issue 2397 ? -- You received this message because you are subscribed to the Google Groups sympy-issues group.

Re: Issue 2851 in sympy: logcombine(log(3) - log(2)) does nothing

2011-11-17 Thread sympy
Comment #8 on issue 2851 by smi...@gmail.com: logcombine(log(3) - log(2)) does nothing http://code.google.com/p/sympy/issues/detail?id=2851 I don't mind if the autoevaluation goes away, but the logic for it should not be duplicated (which makes tracking down logic errors difficult). Could