Skip to content

Commit ae4fe25

Browse files
Merge pull request #225 from Jake-Moss/main
Improve mpoly context interface
2 parents 8b2a3ee + 3e1c60c commit ae4fe25

File tree

9 files changed

+409
-582
lines changed

9 files changed

+409
-582
lines changed

src/flint/flint_base/flint_base.pxd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ cdef class flint_mpoly_context(flint_elem):
1313
cdef public object py_names
1414
cdef const char ** c_names
1515

16+
cdef class flint_mod_mpoly_context(flint_mpoly_context):
17+
cdef readonly bint __prime_modulus
18+
1619
cdef class flint_mpoly(flint_elem):
1720
cdef _add_scalar_(self, other)
1821
cdef _sub_scalar_(self, other)
@@ -54,8 +57,5 @@ cdef class flint_mat(flint_elem):
5457
cdef class flint_series(flint_elem):
5558
pass
5659

57-
cpdef enum Ordering:
58-
lex, deglex, degrevlex
59-
60-
cdef ordering_t ordering_py_to_c(ordering: Ordering)
60+
cdef ordering_t ordering_py_to_c(ordering)
6161
cdef ordering_c_to_py(ordering_t ordering)

0 commit comments

Comments
 (0)