On 13/8/20 8:02 pm, Zihan Zheng wrote:
> Hi developers,
>
> I think I found a bug of SageMath 9.1
>
> *F.<x> = GF(2 ^ 64)*
> *Matrix(F, 5, 5)*
>
> This piece of code runs without error on SageMath 8.9 and 9.0, but
> throws error on 9.1
>
> (reproducible on cocalc.com)
>
> *OverflowError: Python int too large to convert to C unsigned long*
>
> Best,
> Zihan
> -- 
> You received this message because you are subscribed to the Google
> Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to sage-devel+unsubscr...@googlegroups.com
> <mailto:sage-devel+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/366187ef-d6bf-4dbf-a55a-9db2a243d9cen%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/366187ef-d6bf-4dbf-a55a-9db2a243d9cen%40googlegroups.com?utm_medium=email&utm_source=footer>.

Hi,

it works very well for me, even for (much) larger fields.

sage: F.<x> = GF(2^16384)
sage: Matrix(F, 5, 5)
[0 0 0 0 0]
[0 0 0 0 0]
[0 0 0 0 0]
[0 0 0 0 0]
[0 0 0 0 0]

Can you be more specific ? What version of python are you using ? And on
which OS ?

Best,

-- 
Maxime


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/6a334893-984a-08cb-a981-40279c36e85c%40inria.fr.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to