Updates:
Cc: [email protected]
Comment #1 on issue 2851 by [email protected]: logcombine(log(3) -
log(2)) does nothing
http://code.google.com/p/sympy/issues/detail?id=2851
Bisected to:
commit 9dc1d111d489624eef3b0c9481c3e6d99cd869e0
Author: Chris Smith <[email protected]>
Date: Fri May 20 00:11:41 2011 +0545
2397: log expansion changes
Expansion of a log was being done in an as_numer_denom method;
it should be done in _eval_expand_log where rules are followed
concerning when the expansion shold be allowed. When this is
handled there, the as_numer_denom method is no longer needed
for log. But then tests fail because Rationals don't automatically
expand, e.g. log(1/2) doesn't become -log(2). They also fail when
simplifications that relied on that forced expansion of log(x/y)
into log(x) - log(y) no longer can do the expansion so the
force keyword was introduced to the log_expand method.
A few failing solver tests needed tweaking.
The expand docstring was PEP8'ed and edited a little.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.