[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] #if in cython?

2007-10-13 Thread Simon King
Dear sage-supporters, a question on pyrex/cython: I have type definitions depending on an environment variable, such as #if ZZZ==zzz typedef unsigned char FEL; #elif ZZZ==bigzzz typedef unsigned short FEL; Is there a way to do a similar thing in pyrex/cython? Yours sincerely Simon

[sage-support] Re: #if in cython?

2007-10-13 Thread William Stein
On 10/13/07, Simon King [EMAIL PROTECTED] wrote: Dear sage-supporters, a question on pyrex/cython: I have type definitions depending on an environment variable, such as #if ZZZ==zzz typedef unsigned char FEL; #elif ZZZ==bigzzz typedef unsigned short FEL; Is there a way to do a similar

[sage-support] Re: #if in cython?

2007-10-13 Thread mabshoff
On Oct 14, 2:37 am, Simon King [EMAIL PROTECTED] wrote: Dear William, you wrote: This question belongs in the cython or pyrex mailing lists, rather than sage-support, so I've forwarded it there. After posting my question, i found an answer to my question in the web: Pyrex 0.9.6