File: eval.c
At line 113 there is (Race inputs description):
/* (0 <= k < 14), RI_OFF + k = */
/* 1 if exactly k checkers are off, 0 otherwise
*/
But at line 1556 stays (CalculateRaceInputs):
for(k = 0; k < 14; ++k) {
afInput[ RI_OFF + k ] = (menOff == (k+1)) ? 1.0 : 0.0;
}
I think this loop sets RI_OFF+k = 1 if exacly k+1 checkers are off, 0
otherwise. So the comment at line 113 should be (I hope
CalculateRaceInputs is correct, only this comment is a mistake):
/* (0 <= k < 14), RI_OFF + k = */
/* 1 if exactly k+1 checkers are off, 0
otherwise */
Sincerely,
Marek Turski
Poland
ps. sorry for poor english, I did my best ;-)
_______________________________________________
Bug-gnubg mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-gnubg