Author: bugman Date: Wed Jan 11 09:14:01 2006 New Revision: 2320 URL: http://svn.gna.org/viewcvs/relax?rev=2320&view=rev Log: Added some sanity to the PyArrayObjects in the C code. Pointers, eg 'relax_times' have been created to 'numpy_relax_times->data' and recast as double. Now the elements of the array are refered to as 'relax_times[2]' rather than 'relax_times->data + 2*relax_times->strides[0]'. This should remove much pain. Modified: 1.1/maths_fns/exponential.c 1.1/maths_fns/relax_fit.c 1.1/maths_fns/relax_fit.h