On Sep 29, 2:25 pm, gerhard <[EMAIL PROTECTED]> wrote:
> The example I have trouble with is
>     import numpy
>     s,t=numpy.mgrid[-7.:7.:.05,-5.:5:.05]
>     print type(s[0,1])
>     print s
> Is this a bug?
>
> the explicit conversion to float suggested above does what I need.
>
> thanks,
> gerhard

numpy does not play well with Sage types and as far as I know no one
is attempting to fix this yet. Explicit casts work for now.

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to