[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!

From: Joseph Heled
Subject: Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!
Date: Fri, 10 Jan 2003 10:56:33 +1300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202

While there is a problem, my fix is incorrect.

Until Joern figures out the right fix, if you do this,

set rollout bearofftruncation exact off
set rollout bearofftruncation onesided off

You should get the right rollout results.


Joseph Heled wrote:

I think I found the bug, but I would like an opinion because I can't believe such a blatant error can exist undetected for so long.

I think wins are logged to the wrong player in the rollout code, when the game is over.

line 747 in rollout.c

      if ( iTurn & 1 ) InvertEvaluationR ( aarOutput[ ici ], pci );

If I change it to

      if ( ! (iTurn & 1) ) InvertEvaluationR ( aarOutput[ ici ], pci );

I start to get exactly my numbers again.


Bug-gnubg mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]