projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74b11e3
)
Do not fill value if we have no search info.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Mon, 21 Mar 2016 23:23:44 +0000
(
00:23
+0100)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sat, 24 Nov 2018 10:17:41 +0000
(11:17 +0100)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index 39c5ce58f3b507233ad590deae37ab0c97ca2146..d20d8df4b3dc8af0eb5fe90d7f2c63b900b9dac2 100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-108,7
+108,9
@@
public:
response->set_depth(entry->depth());
FillValue(eval, response->mutable_eval());
- FillValue(value, response->mutable_value());
+ if (entry->depth() > DEPTH_NONE) {
+ FillValue(value, response->mutable_value());
+ }
response->set_bound(HashProbeLine::ValueBound(bound));
// Follow the PV until we hit an illegal move.