mailr19604 - /trunk/target_functions/exponential.c


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

Header


Content

Posted by edward on April 29, 2013 - 11:11:
Author: bugman
Date: Mon Apr 29 11:11:06 2013
New Revision: 19604

URL: http://svn.gna.org/viewcvs/relax?rev=19604&view=rev
Log:
The exponential C file now uses the exp() function from math.h rather than 
Python.h.

This file is independent from Python.


Modified:
    trunk/target_functions/exponential.c

Modified: trunk/target_functions/exponential.c
URL: 
http://svn.gna.org/viewcvs/relax/trunk/target_functions/exponential.c?rev=19604&r1=19603&r2=19604&view=diff
==============================================================================
--- trunk/target_functions/exponential.c (original)
+++ trunk/target_functions/exponential.c Mon Apr 29 11:11:06 2013
@@ -18,8 +18,8 @@
  */
 
 
-/* This include must come first */
-#include <Python.h>
+/* The exponential function is needed. */
+#include <math.h>
 
 
 void exponential(double *params, double *relax_times, double *back_calc, int 
num_times) {




Related Messages


Powered by MHonArc, Updated Mon Apr 29 11:20:02 2013