Issue 1468 in sympy: problems with quartic root solver

2009-07-16 Thread codesite-noreply
Comment #4 on issue 1468 by smichr: problems with quartic root solver http://code.google.com/p/sympy/issues/detail?id=1468 There is a sign error in the original routine. The definitions of A and B should be A = (u-v)/4 B = (u+v)/4 /c -- You received this message because you are listed in th

Issue 1490 in sympy: LatexPrinter doprint inline=None

2009-07-16 Thread codesite-noreply
Comment #14 on issue 1490 by ryanlists: LatexPrinter doprint inline=None http://code.google.com/p/sympy/issues/detail?id=1490 OK, I think I have this fixed and the corresponding changes made to the tests. The result is now in my latex_mode branch. -- You received this message because you are

Issue 1468 in sympy: problems with quartic root solver

2009-07-16 Thread codesite-noreply
Comment #5 on issue 1468 by smichr: problems with quartic root solver http://code.google.com/p/sympy/issues/detail?id=1468 There is a sign error in the original routine when there are not 4 real roots. The definitions of A and B when there are 2 or 4 complex roots should be A = (u-v)/4 B = (u

Issue 1473 in sympy: __mod__ does not work on reals

2009-07-16 Thread codesite-noreply
Updates: Labels: Milestone-Release0.6.6 Comment #8 on issue 1473 by fab...@fseoane.net: __mod__ does not work on reals http://code.google.com/p/sympy/issues/detail?id=1473 I encountered this bug while doing complex exponentials: In [1]: oo % 2 -

Issue 1473 in sympy: __mod__ does not work on reals

2009-07-16 Thread codesite-noreply
Comment #9 on issue 1473 by fab...@fseoane.net: __mod__ does not work on reals http://code.google.com/p/sympy/issues/detail?id=1473 this las thing can be easily fixed implementing __mod__ in Inifnity: diff --git a/sympy/core/numbers.py b/sympy/core/numbers.py index 11a2b72..59e86e5 100644 ---

Issue 1540 in sympy: match returns nan instead of 0

2009-07-16 Thread codesite-noreply
Status: Accepted Owner: hazelnusse Labels: Type-Defect Priority-Medium New issue 1540 by hazelnusse: match returns nan instead of 0 http://code.google.com/p/sympy/issues/detail?id=1540 Python 2.6.2 console for SymPy 0.6.5.rc2-git In [1]: from sympy import I, oo, Wild, pi In [2]: arg = I*oo In

Issue 1540 in sympy: match returns nan instead of 0

2009-07-16 Thread codesite-noreply
Comment #1 on issue 1540 by hazelnusse: match returns nan instead of 0 http://code.google.com/p/sympy/issues/detail?id=1540 I traced it to this point: sympy/core/operations.py:139 d2 = pattern.matches(expr, d1, evaluate=True) In this example: pattern == a + b*pi expr == (oo)*I d1 == {a_: (oo)*

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-07-16 Thread codesite-noreply
Comment #7 on issue 1467 by ted.ho...@earthlink.net: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 OK, here is a patch for Inequality and StrictInequality with some tests. I think this takes care of the symptom, but there are still som

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-07-16 Thread codesite-noreply
Comment #8 on issue 1467 by ted.ho...@earthlink.net: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 Oops, here is the actual patch... Attachments: 1467g.patch 2.9 KB -- You received this message because you are listed in the own

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-07-16 Thread codesite-noreply
Updates: Labels: -NeedsBetterPatch NeedsReview Comment #9 on issue 1467 by ondrej.certik: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 (No comment was entered for this change.) -- You received this message because you are listed

Issue 1356 in sympy: evalf(), sstr(), pretty(), latex(), ... should raise an exception if passed wrong kwarg

2009-07-16 Thread codesite-noreply
Comment #2 on issue 1356 by Toon.Verstraelen: evalf(), sstr(), pretty(), latex(), ... should raise an exception if passed wrong kwarg http://code.google.com/p/sympy/issues/detail?id=1356 I'll take care of the printers. -- You received this message because you are listed in the owner or CC fie

Issue 1491 in sympy: generalize mainvar in LatexPrinter

2009-07-16 Thread codesite-noreply
Comment #9 on issue 1491 by Toon.Verstraelen: generalize mainvar in LatexPrinter http://code.google.com/p/sympy/issues/detail?id=1491 Ordering in _print_Add should not only be a part of the LatexPrinter. Can't we do this in the Printer base class? One could implemented an iterator method l

Issue 1463 in sympy: Initial codegen implementation

2009-07-16 Thread codesite-noreply
Updates: Status: Fixed Comment #18 on issue 1463 by Toon.Verstraelen: Initial codegen implementation http://code.google.com/p/sympy/issues/detail?id=1463 (No comment was entered for this change.) -- You received this message because you are listed in the owner or CC fields of this iss

Issue 1490 in sympy: LatexPrinter doprint inline=None

2009-07-16 Thread codesite-noreply
Comment #15 on issue 1490 by Toon.Verstraelen: LatexPrinter doprint inline=None http://code.google.com/p/sympy/issues/detail?id=1490 I'd go for option 2, if there are (other) tests for all possible modes. -- You received this message because you are listed in the owner or CC fields of this is

Issue 1490 in sympy: LatexPrinter doprint inline=None

2009-07-16 Thread codesite-noreply
Comment #16 on issue 1490 by Toon.Verstraelen: LatexPrinter doprint inline=None http://code.google.com/p/sympy/issues/detail?id=1490 All tests pass, also after a 'git rebase master'. Could you update the tutorial with the attached patch? (For some reason the documentation is no longer tested