mailr14466 - /branches/inversion-recovery/maths_fns/relax_fit.c


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

Header


Content

Posted by sebastien . morin on August 26, 2011 - 10:20:
Author: semor
Date: Fri Aug 26 10:20:30 2011
New Revision: 14466

URL: http://svn.gna.org/viewcvs/relax?rev=14466&view=rev
Log:
Added a line for memory allocation of the "curve_type" array.



Modified:
    branches/inversion-recovery/maths_fns/relax_fit.c

Modified: branches/inversion-recovery/maths_fns/relax_fit.c
URL: 
http://svn.gna.org/viewcvs/relax/branches/inversion-recovery/maths_fns/relax_fit.c?rev=14466&r1=14465&r2=14466&view=diff
==============================================================================
--- branches/inversion-recovery/maths_fns/relax_fit.c (original)
+++ branches/inversion-recovery/maths_fns/relax_fit.c Fri Aug 26 10:20:30 2011
@@ -50,6 +50,7 @@
         return NULL;
 
     /* Dynamic C arrays */
+    curve_type = (char *) 
malloc(sizeof(char)*PySequence_Fast_GET_SIZE(curve_type));
     params = (double *) malloc(sizeof(double)*num_params);
     values = (double *) malloc(sizeof(double)*num_times);
     sd = (double *) malloc(sizeof(double)*num_times);




Related Messages


Powered by MHonArc, Updated Fri Aug 26 11:00:02 2011