mailr14474 - /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 - 11:38:
Author: semor
Date: Fri Aug 26 11:38:11 2011
New Revision: 14474

URL: http://svn.gna.org/viewcvs/relax?rev=14474&view=rev
Log:
Replaced "PyString_AsChar" by "PyString_AsString" as the former does not 
exist...



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=14474&r1=14473&r2=14474&view=diff
==============================================================================
--- branches/inversion-recovery/maths_fns/relax_fit.c (original)
+++ branches/inversion-recovery/maths_fns/relax_fit.c Fri Aug 26 11:38:11 2011
@@ -63,7 +63,7 @@
         element = PySequence_GetItem(curve_type_arg, i);
 
         /* Convert to a C char array */
-        curve_type[i] = PyString_AsChar(element);
+        curve_type[i] = PyString_AsString(element);
     }
 
     /* Place the value elements into the C array */




Related Messages


Powered by MHonArc, Updated Fri Aug 26 12:00:03 2011