I agree, I think that is a sensible approach.bob wrote: If I were Ronald, I would probably just fix the initialization code so that it would not try to use any 6 piece files unless ALL 6 piece files are available, then this kind of problem goes away.
Stockfish 7 and partial 6 piece syzygy problem?
Moderators: hgm, Rebel, chrisw
-
- Posts: 3550
- Joined: Thu Jun 07, 2012 11:02 pm
Re: Stockfish 7 and partial 6 piece syzygy problem?
-
- Posts: 5566
- Joined: Tue Feb 28, 2012 11:56 pm
Re: Stockfish 7 and partial 6 piece syzygy problem?
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).Jouni wrote:I see there has been syzygy rewriting lately. May be this can be fixed at the same time?
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.
-
- Posts: 2684
- Joined: Sat Jun 14, 2008 9:17 pm
Re: Stockfish 7 and partial 6 piece syzygy problem?
Thanks to all people involved, for reporting the bug, finding the fix and confirming the bug.syzygy wrote: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).Jouni wrote:I see there has been syzygy rewriting lately. May be this can be fixed at the same time?
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.
I will open a PR and fix SF, possibly this week end.
-
- Posts: 2684
- Joined: Sat Jun 14, 2008 9:17 pm
Re: Stockfish 7 and partial 6 piece syzygy problem?
Bug has been fixed now.
-
- Posts: 3291
- Joined: Wed Mar 08, 2006 8:15 pm
Re: Stockfish 7 and partial 6 piece syzygy problem?
Seems to work now OK without any obvious drawback!
Jouni