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

Commit

Permalink
Trac 17543: remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
pjbruin committed Mar 20, 2015
1 parent dd93dea commit 7f8a5de
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sage/modular/abvar/finite_subgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,6 @@ def _element_constructor_(self, x, check=True):
...
TypeError: x does not define an element of self
"""
if isinstance(x, self.element_class) and x.parent() is self:
return x
if isinstance(x, TorsionPoint):
if x.parent() == self:
return self.element_class(self, x.element(), check=False)
Expand Down

0 comments on commit 7f8a5de

Please sign in to comment.