On Tue, Jan 14, 2020 at 10:18 AM Jan Groenewald <j...@aims.ac.za> wrote:
>
> Hi
>
> On Tue, 14 Jan 2020 at 12:11, Александр Ватузов <amvatu...@gmail.com> wrote:
>>
>> I have a problem with sage on python3, example sage9.0
>>
>> simple code:
>>
>> import mpmath
>> mpmath.mp.prec = 1000 #on 700 all is ok
>> mpmath.findroot(lambda x: x^2 - 3, 2)
>>
>> error:
>> <repr(<sage.libs.mpmath.ext_main.mpf at 0x7fedbe2d84c8>) failed: 
>> SystemError: <built-in function divmod> returned a result with an error set>
>>
>> Somebody else has this error? I will check on simple mpmath.
>
>
> No error on sage 8.6; yes same error on  sage 9.0 (Debian 10).
>

mpmath version on Sage 8.6 is 1.0.0, and later and now it is 1.1.0

This might explain the problem, which maybe should be reported upstream:

https://github.com/fredrik-johansson/mpmath

> Regards,
> Jan
>
>
> --
>   .~.
>   /V\     Jan Groenewald
>  /( )\    www.aims.ac.za
>  ^^-^^
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/CAAg%3Dp_0e6_fuCngtYa5LA1TteUH0KqQa5bukPbSGd%2BfypUMPVA%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq2tofrfCxSOLJZ3%3Dw9XU44r17rRDXozRQpM-OGA%3DO%2BdhQ%40mail.gmail.com.

Reply via email to