This is basically a characteristic of numpy. sympy.Float supports the
interfaces required from a float-like object, namely the __float__
method. Numpy does not look for this, so you should explicitly require
numpy to use the float64 dtype.

In [5]: a = sin(1).evalf(), sin(2).evalf()
In [6]: np_a = np.array(a, dtype=np.float64)

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to