Re: Issue 3235 in sympy: Sage error in master

2012-08-21 Thread sympy
Updates: Status: Fixed Comment #15 on issue 3235 by smi...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups sympy-issues group. To

Re: Issue 3235 in sympy: Sage error in master

2012-08-20 Thread sympy
Updates: Labels: Evalf Comment #12 on issue 3235 by asmeu...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 I'm having some trouble fixing this. I've pushed what I've done so far to my no-evalf-1 branch. But there is a problem with a test in

Re: Issue 3235 in sympy: Sage error in master

2012-08-20 Thread sympy
Comment #13 on issue 3235 by asmeu...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 Never mind, I figured it out. I just needed to change round(1) to round(2) in __int__. Still, I would appreciate a review. -- You received this message because you

Re: Issue 3235 in sympy: Sage error in master

2012-08-20 Thread sympy
Updates: Labels: NeedsReview Comment #14 on issue 3235 by asmeu...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 OK, see https://github.com/sympy/sympy/pull/1501. I'm not feeling confidant at all about the changes, so I would appreciate a review

Re: Issue 3235 in sympy: Sage error in master

2012-08-14 Thread sympy
Comment #6 on issue 3235 by vbraun.n...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 I get a useable stacktrace, for the record. Time to switch to Linux? ;-) In any case, the problem is that sympy calls sage.libs.mpmath.ext_libmp.mpf_log with prec=1,

Re: Issue 3235 in sympy: Sage error in master

2012-08-14 Thread sympy
Comment #7 on issue 3235 by asmeu...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 Time to switch to Linux? ;-) No. I guess this is Apple's LLVM gdb vs. gcc gdb. Anyway, this has pointed me in the right direction. It has something to do with

Re: Issue 3235 in sympy: Sage error in master

2012-08-14 Thread sympy
Updates: Cc: smi...@gmail.com fredrik@gmail.com Comment #8 on issue 3235 by asmeu...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 Ah, well it's the simple fact that it's using Sage's mpf_log instead of the one in the sympy mpmath. The

Re: Issue 3235 in sympy: Sage error in master

2012-08-14 Thread sympy
Comment #9 on issue 3235 by smi...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 I suspect it is used elsewhere but on'y know what grep would tell. Look for n(1) and evalf(1). -- You received this message because you are subscribed to the Google Groups

Re: Issue 3235 in sympy: Sage error in master

2012-08-14 Thread sympy
Comment #10 on issue 3235 by vbraun.n...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 mpmath internally has different backends to do the computation. It uses mpir/mpfr if possible (i.e. if used from within Sage) and falls back to some python code

Re: Issue 3235 in sympy: Sage error in master

2012-08-14 Thread sympy
Comment #11 on issue 3235 by asmeu...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 It would be much more useful if that were part of mpmath. -- You received this message because you are subscribed to the Google Groups sympy-issues group. To post to this

Re: Issue 3235 in sympy: Sage error in master

2012-08-13 Thread sympy
Comment #4 on issue 3235 by vbraun.n...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 Did you try sage -gdb and then bt (backtrace) after the crash? -- You received this message because you are subscribed to the Google Groups sympy-issues group. To post

Re: Issue 3235 in sympy: Sage error in master

2012-08-13 Thread sympy
Comment #5 on issue 3235 by asmeu...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 sage: import sympy Reading symbols for shared libraries warning: Could not find object file

Re: Issue 3235 in sympy: Sage error in master

2012-07-27 Thread sympy
Updates: Status: Valid Comment #3 on issue 3235 by asmeu...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 Ah, I ran the wrong command. This is still happening. -- You received this message because you are subscribed to the Google Groups

Re: Issue 3235 in sympy: Sage error in master

2012-07-23 Thread sympy
Updates: Status: Fixed Comment #2 on issue 3235 by asmeu...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 Sage 5.1 seems to have fixed the problem: $sage -t sympy/external/tests/test_sage.py sage -t sympy/external/tests/test_sage.py [3.6

Issue 3235 in sympy: Sage error in master

2012-04-21 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Critical New issue 3235 by asmeu...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 $sage -python bin/test sympy/external/tests/test_sage.py init2.c:52: MPFR assertion failed: p = 2 p =

Re: Issue 3235 in sympy: Sage error in master

2012-04-21 Thread sympy
Comment #1 on issue 3235 by asmeu...@gmail.com: Sage error in master http://code.google.com/p/sympy/issues/detail?id=3235 I've narrowed it down to (1/log(pi)).is_nonnegative. I can't figure out where the code is going from there, though. -- You received this message because you are