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

Commit 65e6c10

Browse files
committedNov 25, 2016
positive ** positive = real (doctest only) #21940
1 parent aa2bcc1 commit 65e6c10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/sage/symbolic/expression.pyx

+3
Original file line numberDiff line numberDiff line change
@@ -1981,6 +1981,9 @@ cdef class Expression(CommutativeRingElement):
19811981
False
19821982
sage: (t0*t1).is_real()
19831983
True
1984+
sage: t2 = SR.symbol("t1", domain='positive')
1985+
sage: (t1**t2).is_real()
1986+
True
19841987
sage: (t0*x).is_real()
19851988
False
19861989

0 commit comments

Comments
 (0)