[sage-support] Re: bug in matrix

2007-10-13 Thread William Stein
On 10/12/07, adrianmatematico [EMAIL PROTECTED] wrote: Maybe I have something wrong with my installation. But Thanks a lot This is what sage told me (I erased the email addresses): sage: hg_sage.patch('/home/soto/Desktop/856.patch') You have to do

[sage-support] Re: bug in matrix

2007-10-12 Thread adrianmatematico
THANKS!!! -Adrian. On Oct 11, 11:08 pm, Mike Hansen [EMAIL PROTECTED] wrote: Hello, I've attached a patch that fixes the issues that you've mentioned. To apply it, run hg_sage.patch('/path/to/856.patch') from SAGE, exit SAGE, and then run ./sage -br . There still is some work to be

[sage-support] Re: bug in matrix

2007-10-12 Thread adrianmatematico
Maybe I have something wrong with my installation. But Thanks a lot This is what sage told me (I erased the email addresses): sage: hg_sage.patch('/home/soto/Desktop/856.patch') WARNING: Make sure to create a ~/.hgrc file: --

[sage-support] Re: bug in matrix

2007-10-11 Thread Mike Hansen
Hello, Are you running a 64-bit machine? I looked at the code, and the problem seems to come from the fact that it is doing a naive check on the type of the numpy array; it is currently assuming that your float32 array is a float64 array which is why you are getting the strange results you are.

[sage-support] Re: bug in matrix

2007-10-11 Thread Mike Hansen
Hello, I've attached a patch that fixes the issues that you've mentioned. To apply it, run hg_sage.patch('/path/to/856.patch') from SAGE, exit SAGE, and then run ./sage -br . There still is some work to be done with numpy support -- for example, getting the numpy integer types to play well with