Thanks for the help John.
Indeed, changing <= to < has it licked.
--
http://mail.python.org/mailman/listinfo/python-list
On 25/05/2006 12:09 PM, rimmer wrote:
> I'm writing an extension module in C in which I'm passing an array of
> floats from C to python. The code below illustrates a simple C
> function designed to output an array of floats.
>
[snip]
Couldn't restrain myself from reading further :-)
>
> Then I
On 25/05/2006 12:09 PM, rimmer wrote:
> I'm writing an extension module in C in which I'm passing an array of
> floats from C to python. The code below illustrates a simple C
> function designed to output an array of floats.
>
> -
> extTest.c
> -
> #include
>
> double *testArray
I'm writing an extension module in C in which I'm passing an array of
floats from C to python. The code below illustrates a simple C
function designed to output an array of floats.
-
extTest.c
-
#include
double *testArray(int nsamp) {
double nums[1];
int i;
double cum