Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: boundschecking

Author: Severi Salminen

Date: 01:32:20 11/04/02

Go up one level in this thread


>I can see randomize when I click F1 only as a visual basic command and I work in
>C.
>
>I tried srand(0) before filling the array but it does not help and
>zobrist[0][0][0] is different in debug mode and in release mode.

Are you sure? I think rand() should return the exact same values if you use the
same seed (srand()). Are you sure you run srand(0) and fill the table only once
in both versions? There seems to be a bug somewhere.

Severi



This page took 0.01 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.