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

Commit

Permalink
positive ** positive = real (doctest only) #21940
Browse files Browse the repository at this point in the history
  • Loading branch information
pelegm committed Nov 25, 2016
1 parent aa2bcc1 commit 65e6c10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sage/symbolic/expression.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,9 @@ cdef class Expression(CommutativeRingElement):
False
sage: (t0*t1).is_real()
True
sage: t2 = SR.symbol("t1", domain='positive')
sage: (t1**t2).is_real()
True
sage: (t0*x).is_real()
False
Expand Down

0 comments on commit 65e6c10

Please sign in to comment.