Skip to content

Commit 4261ff7

Browse files
Changed the documentation
Changed the documentation of var function.
1 parent 6db405d commit 4261ff7

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/sage/symbolic/ring.pyx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ cdef class SymbolicRing(sage.rings.abc.SymbolicRing):
760760
761761
- ``n`` -- (optional) positive integer; number of symbolic variables, indexed from `0` to `n-1`
762762
763-
- ``domain`` -- (optional) specify the domain of the variable(s); it is the complex plane
763+
- ``domain`` -- (optional) specify the domain of the variable(s); it is None
764764
by default, and possible options are (non-exhaustive list, see note below):
765765
``'real'``, ``'complex'``, ``'positive'``, ``'integer'`` and ``'noninteger'``
766766
@@ -862,16 +862,6 @@ cdef class SymbolicRing(sage.rings.abc.SymbolicRing):
862862
Traceback (most recent call last):
863863
...
864864
ValueError: cannot specify n for multiple symbol names
865-
866-
Check that :trac:`36833` is fixed: Variables whose domain is not
867-
defined should be considered in complex plane as described in documentation::
868-
869-
sage: y = SR.var("y"); y
870-
y
871-
sage: f = y * conjugate(y); f
872-
f
873-
sage: f.factor()
874-
y*conjugate(y)
875865
"""
876866
if isinstance(name, Expression):
877867
return name

0 commit comments

Comments
 (0)