Skip to content

Commit

Permalink
Unconditionally raise NotImplementedError
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Moss committed Sep 17, 2024
1 parent aa2901a commit e8cdeaf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/flint/types/fmpz_mod_mpoly.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1141,11 +1141,10 @@ cdef class fmpz_mod_mpoly(flint_mpoly):
return list(stride), list(shift)

cdef _compose_gens_(self, ctx, slong *mapping):
if FLINT_RELEASE < 30200:
raise NotImplementedError(
"this function is not supported below FLINT 3.2.0, "
f"current version is {FLINT_VERSION}"
)
raise NotImplementedError(
"this function is not supported below FLINT 3.2.0, "
f"current version is {FLINT_VERSION}"
)

cdef fmpz_mod_mpoly res = create_fmpz_mod_mpoly(ctx)
fmpz_mod_mpoly_compose_fmpz_mod_mpoly_gen(
Expand Down

0 comments on commit e8cdeaf

Please sign in to comment.