upiterbarg / mpmath

Automatically exported from code.google.com/p/mpmath
Other
0 stars 0 forks source link

__sqrt__ not implemented for mpc #210

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. a = mpc('1.0')
2. from numpy import sqrt
3. sqrt(a)

What is the expected output? What do you see instead?
You should return sqrt(a) but I get
AttributeError: sqrt

What version of the product are you using? On what operating system?
0.15, ubuntu natty

Please provide any additional information below.

Original issue reported on code.google.com by chaf...@gmail.com on 27 Jun 2011 at 9:28