Skip to content

Commit b9fd252

Browse files
author
Matthias Koeppe
committed
src/sage/groups/perm_gps/partn_ref/data_structures.pyx: In doctest support code, avoid use of FLINT
1 parent 543f8d6 commit b9fd252

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sage/groups/perm_gps/partn_ref/data_structures.pyx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ from cysignals.memory cimport sig_malloc, sig_calloc, sig_realloc, sig_free
3333

3434
from sage.data_structures.bitset_base cimport *
3535
from sage.rings.integer cimport Integer
36-
from sage.libs.flint.ulong_extras cimport n_is_prime
36+
# from sage.libs.flint.ulong_extras cimport n_is_prime
37+
# -- avoid modularization obstruction -- function is only used for a doctest helper
38+
from sage.arith.misc import is_prime as n_is_prime
39+
3740

3841
# OrbitPartition (OP)
3942

0 commit comments

Comments
 (0)