[Relax-commits] r2320 - in /1.1/maths_fns: exponential.c relax_fit.c relax_fit.h (January 11, 2006 - 09:15)

Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Headers

 

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



Related Mails




Powered by MHonArc, Updated Wed Jan 11 09:40:04 2006