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

Commit

Permalink
Fixed #21946 and added example for #21554
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutosh1206 committed Mar 10, 2017
1 parent b881047 commit ea063c3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/sage/symbolic/relation.py
Expand Up @@ -449,7 +449,16 @@ def test_relation_maxima(relation):
sage: test_relation_maxima(f1 - f2 == 0)
True
sage: forget()
In case an equation is to be solved for non-integers, ''assume()''
is used::
sage: k = var('k')
sage: assume(k,'noninteger')
sage: solve([k^3==1],k)
[k == 1/2*I*sqrt(3) - 1/2, k == -1/2*I*sqrt(3) - 1/2]
sage: assumptions()
[k is noninteger]
"""
m = relation._maxima_()
Expand Down

0 comments on commit ea063c3

Please sign in to comment.