Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix some errors with positional check arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
roed314 committed Sep 13, 2019
1 parent d0e0953 commit 16feb8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sage/rings/finite_rings/hom_finite_field_givaro.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ cdef class FiniteFieldHomomorphism_givaro(FiniteFieldHomomorphism_generic):
if not isinstance(codomain, FiniteField_givaro):
raise TypeError("The codomain is not an instance of FiniteField_givaro")

FiniteFieldHomomorphism_generic.__init__(self, parent, im_gens, check,
FiniteFieldHomomorphism_generic.__init__(self, parent, im_gens, check=check,
section_class=SectionFiniteFieldHomomorphism_givaro)

cdef Cache_givaro domain_cache = (<FiniteField_givaroElement>(domain.gen()))._cache
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/morphism.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ cdef class RingHomomorphism(RingMap):
if homset.homset_category().is_subcategory(Rings()):
if isinstance(right, RingHomomorphism_im_gens):
try:
return homset([self(g) for g in right.im_gens()], False)
return homset([self(g) for g in right.im_gens()], check=False)
except ValueError:
pass
from sage.rings.number_field.morphism import RelativeNumberFieldHomomorphism_from_abs
Expand Down

0 comments on commit 16feb8d

Please sign in to comment.