mailr16505 - /branches/uf_redesign/specific_fns/api_objects.py


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

Header


Content

Posted by edward on May 29, 2012 - 11:38:
Author: bugman
Date: Tue May 29 11:38:32 2012
New Revision: 16505

URL: http://svn.gna.org/viewcvs/relax?rev=16505&view=rev
Log:
The py_type is now set for the minimisation parameters.


Modified:
    branches/uf_redesign/specific_fns/api_objects.py

Modified: branches/uf_redesign/specific_fns/api_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/specific_fns/api_objects.py?rev=16505&r1=16504&r2=16505&view=diff
==============================================================================
--- branches/uf_redesign/specific_fns/api_objects.py (original)
+++ branches/uf_redesign/specific_fns/api_objects.py Tue May 29 11:38:32 2012
@@ -147,12 +147,12 @@
                 scope = 'spin'
 
             # The minimisation parameters.
-            self.add('chi2', scope=scope, desc='Chi-squared value')
-            self.add('iter', scope=scope, desc='Optimisation iterations')
-            self.add('f_count', scope=scope, desc='Number of function calls')
-            self.add('g_count', scope=scope, desc='Number of gradient calls')
-            self.add('h_count', scope=scope, desc='Number of Hessian calls')
-            self.add('warning', scope=scope, desc='Optimisation warning')
+            self.add('chi2', scope=scope, desc='Chi-squared value', 
py_type=float)
+            self.add('iter', scope=scope, desc='Optimisation iterations', 
py_type=int)
+            self.add('f_count', scope=scope, desc='Number of function 
calls', py_type=int)
+            self.add('g_count', scope=scope, desc='Number of gradient 
calls', py_type=int)
+            self.add('h_count', scope=scope, desc='Number of Hessian calls', 
py_type=int)
+            self.add('warning', scope=scope, desc='Optimisation warning', 
py_type=str)
 
 
     def base_loop(self, set=None):




Related Messages


Powered by MHonArc, Updated Tue May 29 12:20:02 2012