Skip to content

Commit

Permalink
src/sage/symbolic/relation.py: Add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Apr 7, 2023
1 parent f0ddf13 commit ae7db7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sage/symbolic/relation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1268,6 +1268,8 @@ def _solve_expression(f, x, explicit_solutions, multiplicities,
sage: solve([x==3], [x], solution_dict=True, algorithm='sympy')
[{x: 3}]
"""
from sage.structure.element import Expression

if f.is_relational():
if f.operator() is not operator.eq:
if algorithm == 'sympy':
Expand Down

0 comments on commit ae7db7e

Please sign in to comment.