mailr2530 - /branches/nan_catch_test/specific_fns/model_free.py


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

Header


Content

Posted by edward on August 09, 2006 - 07:49:
Author: bugman
Date: Wed Aug  9 07:48:36 2006
New Revision: 2530

URL: http://svn.gna.org/viewcvs/relax?rev=2530&view=rev
Log:
Fix for the RelaxInfError and RelaxNaNError.


Modified:
    branches/nan_catch_test/specific_fns/model_free.py

Modified: branches/nan_catch_test/specific_fns/model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/nan_catch_test/specific_fns/model_free.py?rev=2530&r1=2529&r2=2530&view=diff
==============================================================================
--- branches/nan_catch_test/specific_fns/model_free.py (original)
+++ branches/nan_catch_test/specific_fns/model_free.py Wed Aug  9 07:48:36 
2006
@@ -2376,11 +2376,11 @@
 
             # Catch infinite chi-squared values.
             if self.func == float('inf'):
-                raise RelaxInfError
+                raise RelaxInfError, 'chi-squared'
 
             # Catch chi-squared values of NaN.
             if isnan(self.func):
-                raise RelaxNaNError
+                raise RelaxNaNError, 'chi-squared'
 
             # Scaling.
             if scaling:




Related Messages


Powered by MHonArc, Updated Wed Aug 09 13:40:06 2006