mailr22562 - /trunk/target_functions/relax_fit.h


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

Header


Content

Posted by edward on March 27, 2014 - 15:47:
Author: bugman
Date: Thu Mar 27 15:47:52 2014
New Revision: 22562

URL: http://svn.gna.org/viewcvs/relax?rev=22562&view=rev
Log:
The variables in the relax_fit.h file are now all static.


Modified:
    trunk/target_functions/relax_fit.h

Modified: trunk/target_functions/relax_fit.h
URL: 
http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_fit.h?rev=22562&r1=22561&r2=22562&view=diff
==============================================================================
--- trunk/target_functions/relax_fit.h  (original)
+++ trunk/target_functions/relax_fit.h  Thu Mar 27 15:47:52 2014
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2013 Edward d'Auvergne
+ * Copyright (C) 2006-2014 Edward d'Auvergne
  *
  * This file is part of the program relax (http://www.nmr-relax.com).
  *
@@ -35,12 +35,12 @@
 /****************************************/
 
 /* Variables sent to the setup function to be stored for later use */
-int num_params, num_times;
+static int num_params, num_times;
 
 /* Variables used for storage during the function calls of optimisation */
-double back_calc[MAXTIMES];
-double params[MAXPARAMS];
-double values[MAXTIMES];
-double sd[MAXTIMES];
-double relax_times[MAXTIMES];
-double scaling_matrix[MAXPARAMS];
+static double back_calc[MAXTIMES];
+static double params[MAXPARAMS];
+static double values[MAXTIMES];
+static double sd[MAXTIMES];
+static double relax_times[MAXTIMES];
+static double scaling_matrix[MAXPARAMS];




Related Messages


Powered by MHonArc, Updated Thu Mar 27 16:40:02 2014