Author: bugman Date: Thu Dec 10 17:15:10 2009 New Revision: 10083 URL: http://svn.gna.org/viewcvs/relax?rev=10083&view=rev Log: Big bug fix for the RDC and PCS calculations used in the fixed population N-state models. The last weight, if supplied, was being converted to zero (1 - sum(weights)) hence the last state/structure was not being included and the population sum was not 1! Modified: 1.3/maths_fns/pcs.py 1.3/maths_fns/rdc.py [This mail would be too long, it was shortened to contain the URLs only.] Modified: 1.3/maths_fns/pcs.py URL: http://svn.gna.org/viewcvs/relax/1.3/maths_fns/pcs.py?rev=10083&r1=10082&r2=10083&view=diff Modified: 1.3/maths_fns/rdc.py URL: http://svn.gna.org/viewcvs/relax/1.3/maths_fns/rdc.py?rev=10083&r1=10082&r2=10083&view=diff