Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/main' into pr_generic_rings
  • Loading branch information
oscarbenjamin committed Sep 15, 2024
commit 893857b7bb8bab5ad1c49d447fe6d5a2713cdbca
5 changes: 2 additions & 3 deletions src/flint/types/_gr.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ from flint.flintlib.functions.gr_vec cimport (
from flint.flint_base.flint_base cimport (
flint_ctx,
flint_scalar,
Ordering,
ordering_py_to_c,
)

Expand Down Expand Up @@ -787,7 +786,7 @@ cdef class gr_gr_mpoly_ctx(gr_mpoly_ctx):
cdef slong _nvars

@staticmethod
cdef inline gr_gr_mpoly_ctx _new(gr_ctx base_ctx, tuple names, Ordering order):
cdef inline gr_gr_mpoly_ctx _new(gr_ctx base_ctx, tuple names, order):
cdef gr_gr_mpoly_ctx ctx
cdef ordering_t ord_c
cdef slong nvars
Expand Down Expand Up @@ -827,7 +826,7 @@ cdef class gr_gr_mpoly_ctx(gr_mpoly_ctx):
# cdef slong _nvars
#
# @staticmethod
# cdef inline gr_fmpz_mpoly_q_ctx _new(slong nvars, Ordering order):
# cdef inline gr_fmpz_mpoly_q_ctx _new(slong nvars, order):
# cdef gr_fmpz_mpoly_q_ctx ctx
# cdef ordering_t ord_c
# ord_c = ordering_py_to_c(order)
Expand Down
3 changes: 2 additions & 1 deletion src/flint/types/_gr.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ from flint.flintlib.functions.gr_domains cimport (
gr_ctx_get_real_prec,
)

from flint.flint_base.flint_base cimport Ordering, ordering_c_to_py
from flint.flint_base.flint_base cimport ordering_c_to_py
from flint.flint_base.flint_base import Ordering


@cython.no_gc
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.