correction in nkq contribution() : q -> q-1

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2098 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
marieeleonore 2011-02-04 13:34:16 +00:00
commit de55513417

View file

@ -200,7 +200,7 @@ protected:
*
*/
virtual double contribution() {
return ((double) rng.random(q)) / (double) q;
return ((double) rng.random(q)) / (double) (q-1);
}