projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
17000d1
)
Revert: "Do not razor when in check"
author
Marco Costalba
<mcostalba@gmail.com>
Thu, 18 Dec 2008 21:01:56 +0000 (22:01 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Thu, 18 Dec 2008 21:01:56 +0000 (22:01 +0100)
It is slightly weaker after 500 games. Keep the
check on mate values.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
c32171c
..
c3f96e1
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1236,8
+1236,7
@@
namespace {
}
}
// Null move search not allowed, try razoring
- else if ( !isCheck
- && !value_is_mate(beta)
+ else if ( !value_is_mate(beta)
&& ( (approximateEval < beta - RazorMargin && depth < RazorDepth)
||(approximateEval < beta - PawnValueMidgame && depth <= OnePly)))
{