]> gitweb.michael.orlitzky.com - sage.d.git/blobdiff - mjo/symbolic.py
Clean up some imports and fix another test failure.
[sage.d.git] / mjo / symbolic.py
index e2645a30ed7fe33ceb8fb787d51bfaf87305f1ad..992260efb9aaedadf187e06f4db6941d5055cb7e 100644 (file)
@@ -15,15 +15,15 @@ def set_simplification_domain(d):
 
     With the default 'complex' domain, we don't simplify this::
 
-        sage: (abs(x)^2).simplify()
-        abs(x)^2
+        sage: sqrt(x^2).simplify()
+        sqrt(x^2)
 
     But in the 'real' domain, we do::
 
         sage: set_simplification_domain('real')
         'real'
-        sage: (abs(x)^2).simplify()
-        x^2
+        sage: sqrt(x^2).simplify()
+        abs(x)
         sage: set_simplification_domain('complex')
         'complex'