Stockfish 7 and partial 6 piece syzygy problem?

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 7:17 pm

Re: Stockfish 7 and partial 6 piece syzygy problem?

Post by mcostalba » Thu Sep 01, 2016 9:14 pm

syzygy wrote:
Jouni wrote:I see there has been syzygy rewriting lately. May be this can be fixed at the same time?
The SF rewrite will only slow down the probing code with no benefit (I've already shown how to do the rewrite properly, but there is no interest).

However, I have just fixed it here, because it is a bug to do anything with TBScore if the probe was not successful:
https://github.com/syzygy1/Cfish/blob/e ... rch.c#L886

Even if this were fixed in SF, I make no guarantee that probing an incomplete set of tables does what you would like it to do.
Thanks to all people involved, for reporting the bug, finding the fix and confirming the bug.

I will open a PR and fix SF, possibly this week end.

mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 7:17 pm

Re: Stockfish 7 and partial 6 piece syzygy problem?

Post by mcostalba » Sat Sep 03, 2016 6:23 am

Bug has been fixed now.

Jouni
Posts: 2004
Joined: Wed Mar 08, 2006 7:15 pm

Re: Stockfish 7 and partial 6 piece syzygy problem?

Post by Jouni » Sat Sep 03, 2016 5:12 pm

Seems to work now OK without any obvious drawback!
Jouni

Post Reply