Opened 5 years ago

Last modified 5 years ago

#17919 new enhancement

Disallow is_prime() for FieldElement

Reported by: jdemeyer Owned by:
Priority: minor Milestone: sage-6.6
Component: basic arithmetic Keywords:
Cc: Merged in:
Authors: Jeroen Demeyer Reviewers:
Report Upstream: N/A Work issues:
Branch: u/jdemeyer/disallow_is_prime___for_fieldelement (Commits) Commit: f0e8c96df85f464a1b405f6398cd1425c7c918f6
Dependencies: Stopgaps:

Description (last modified by jdemeyer)

The attached branch raises an error when calling is_prime() on a FieldElement.

Change History (3)

comment:1 Changed 5 years ago by jdemeyer

  • Branch set to u/jdemeyer/disallow_is_prime___for_fieldelement

comment:2 Changed 5 years ago by jdemeyer

  • Commit set to f0e8c96df85f464a1b405f6398cd1425c7c918f6
  • Description modified (diff)

New commits:

f0e8c96Raise an error in FieldElement.is_prime()

comment:3 Changed 5 years ago by jdemeyer

Unfortunately, OrderElements are also FieldElement instances, even though the parent is not a field. So this gives doctest failures...

Note: See TracTickets for help on using tickets.