[sage-support] Re: Question about calling Cython code

2008-04-30 Thread Stephen Hartke
Thanks for the information! Using Integer=int has fixed most of my problems. Turning off the preparser prevents load cfuncs.spyx from working, so I haven't been using that. The main problem in my code, I discovered, was the use of Python lists and numpy arrays. By accessing the contents of the

[sage-support] Re: Question about calling Cython code

2008-04-30 Thread mabshoff
On May 1, 7:03 am, Stephen Hartke [EMAIL PROTECTED] wrote: Hi Stephen, Thanks for the information!  Using Integer=int has fixed most of my problems.  Turning off the preparser prevents load cfuncs.spyx from working, so I haven't been using that. The main problem in my code, I discovered,

[sage-support] Re: Question about calling Cython code

2008-04-25 Thread William Stein
On Fri, Apr 25, 2008 at 6:56 AM, Stephen Hartke [EMAIL PROTECTED] wrote: I currently have some Sage code in a file called main.sage. I call this from the Sage command line interpreter with load main.sage. After profiling my code, I moved a few functions into a cfuncs.spyx which I call with a