On Dec 16, 7:44 am, "William Stein" <wst...@gmail.com> wrote:

<SNIP>

> I posted a patch there that does some error checking at least.  It's
> minimal.  I hope somebody will referee it asap so it can go in
> sage-3.2.2.
>
> The real longterm solution to this problem is to totally rewrite the
> GMP interface so that it uses Cython and doesn't use expect at all.
> That's for another ticket.

Thanks to Robert Miller that is already in Sage:

    sage: import sage.libs.libecm
    sage: from sage.libs.libecm import ecmfactor
    sage: result = ecmfactor(999, 0.00)
    sage: result in [(True, 27), (True, 37), (True, 999)]
    True
    sage: result = ecmfactor(999, 0.00, verbose=True)
    Performing one curve with B1=0
    Found factor in step 1: ...
    sage: result in [(True, 27), (True, 37), (True, 999)]
    True


> William

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to