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):