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

Commit

Permalink
Sets.ParentMethods._sympy_: Call sympy_init
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Jun 9, 2021
1 parent eef604e commit 2baae58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sage/categories/sets_cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -1723,6 +1723,8 @@ def _sympy_(self):
True
"""
from sage.interfaces.sympy_wrapper import SageSet
from sage.interfaces.sympy import sympy_init
sympy_init()
return SageSet(self)

class ElementMethods:
Expand Down

0 comments on commit 2baae58

Please sign in to comment.