Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium EasyToFix Printing

New issue 3640 by asmeu...@gmail.com: square roots in the denominator print as powers
http://code.google.com/p/sympy/issues/detail?id=3640

Previously:

In [1]: 1/sqrt(x)
Out[1]:
  1
─────
  ___
╲╱ x

but now:

In [1]: 1/sqrt(x)
Out[1]:
 1
────
 1/2
x

I bisected to

commit 4556cfdc26fae8db5adbf10eed72e6305d7aa9a0
Author: Ashwini Oruganti <ashwini.oruga...@gmail.com>
Date:   Mon Mar 26 00:09:01 2012 +0530

    unevaluated Pow no longer evaluates when printing [3186]

    >>> pprint (Pow(2,-5,evaluate=0))
    1
    --
     5
    2
    >>> print (Pow(2,-5,evaluate=0))
    2**(-5)

I think this is not too hard to fix, if you examine the diff of that commit.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to