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

Commit

Permalink
Function_elementof: Remove use of is_Set
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jun 9, 2021
1 parent 9b4e224 commit 5310e04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/functions/other.py
Original file line number Diff line number Diff line change
Expand Up @@ -2329,8 +2329,8 @@ def _eval_(self, x, s):
...
ValueError: not a set: 0
"""
from sage.sets.set import is_Set
if not is_Set(s):
from sage.sets.sets_cat import Sets
if not s in Sets():
raise ValueError("not a set: {}".format(s))

def _latex_(self):
Expand Down

0 comments on commit 5310e04

Please sign in to comment.