New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce_inequalities error #10196

Closed
smichr opened this Issue Dec 5, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@smichr
Copy link
Member

smichr commented Dec 5, 2015

>>> reduce_inequalities(x**2>=0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "sympy\solvers\inequalities.py", line 605, in reduce_inequalities
    rv = _reduce_inequalities(inequalities, symbols)
  File "sympy\solvers\inequalities.py", line 512, in _reduce_inequalities
    expr, rel = inequality.lhs, inequality.rel_op  # rhs is 0
AttributeError: 'BooleanTrue' object has no attribute 'lhs'

skirpichev added a commit to diofant/diofant that referenced this issue Dec 5, 2015

skirpichev added a commit to diofant/diofant that referenced this issue Dec 5, 2015

@smichr smichr closed this in #10206 Dec 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment