From: Marco Costalba Date: Tue, 28 Apr 2009 06:47:26 +0000 (+0200) Subject: Hardcode depth limit for selective search X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=fbca16da570756f5220b229845e566bd05aa3ce8;hp=fbca16da570756f5220b229845e566bd05aa3ce8 Hardcode depth limit for selective search Because futility margins array has a fixed size we cannot arbitrarly choose or change the SelectiveDepth parameter, otherwise we have a crash for values bigger then array size. On the other hand tweaking of this parameter requires some modification to the hardcoded margins, so makes sense to hard code also this very bounded one. Who wants to experiment is of course free to change the sources. No functional change. Signed-off-by: Marco Costalba ---