mailr10082 - /1.3/maths_fns/pcs.py


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

Header


Content

Posted by edward on December 10, 2009 - 16:20:
Author: bugman
Date: Thu Dec 10 16:20:52 2009
New Revision: 10082

URL: http://svn.gna.org/viewcvs/relax?rev=10082&view=rev
Log:
Fix for the PCS back calculation for when no weights are given.


Modified:
    1.3/maths_fns/pcs.py

Modified: 1.3/maths_fns/pcs.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/maths_fns/pcs.py?rev=10082&r1=10081&r2=10082&view=diff
==============================================================================
--- 1.3/maths_fns/pcs.py (original)
+++ 1.3/maths_fns/pcs.py Thu Dec 10 16:20:52 2009
@@ -91,7 +91,7 @@
 
     # Averaging factor.
     if weights == None:
-        c = 1.0 / N
+        pc = 1.0 / N
 
     # Loop over the structures k.
     for c in xrange(N):




Related Messages


Powered by MHonArc, Updated Thu Dec 10 17:20:02 2009