1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Use alpha instead of beta-1

It is more directly related to a fail-low.

No functional change.
This commit is contained in:
Marco Costalba 2013-06-09 11:52:39 +02:00
parent 902c0566a6
commit 55eb7dd1e9

View file

@ -716,7 +716,7 @@ namespace {
&& (ss-1)->reduction
&& threatMove != MOVE_NONE
&& allows(pos, (ss-1)->currentMove, threatMove))
return beta - 1;
return alpha;
}
}