projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
902c056
)
Use alpha instead of beta-1
author
Marco Costalba
<mcostalba@gmail.com>
Sun, 9 Jun 2013 09:52:39 +0000 (11:52 +0200)
committer
Marco Costalba
<mcostalba@gmail.com>
Sun, 9 Jun 2013 09:52:39 +0000 (11:52 +0200)
It is more directly related to a fail-low.
No functional change.
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
1268445
..
00c871f
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-716,7
+716,7
@@
namespace {
&& (ss-1)->reduction
&& threatMove != MOVE_NONE
&& allows(pos, (ss-1)->currentMove, threatMove))
- return beta - 1;
+ return alpha;
}
}