-
-
Notifications
You must be signed in to change notification settings - Fork 698
Closed
Milestone
Description
It appears that the // operator is supported for most fields, but not for GF(prime).
The example involving GF(7,'a') should not produce a TypeError.
sage: GF(49,'a')(121)//GF(49,'a')(124)
6
sage: GF(7,'a')(121)//GF(7,'a')(124)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/joel/sage-patches/<ipython console> in <module>()
TypeError: unsupported operand type(s) for //: 'sage.rings.integer_mod.IntegerMod_int' and 'sage.rings.integer_mod.IntegerMod_int'
Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/3890