projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
579651c
)
Adjust max NNUE pieces for two board variants
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Fri, 15 Oct 2021 11:14:16 +0000 (13:14 +0200)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Fri, 15 Oct 2021 11:14:16 +0000 (13:14 +0200)
src/variant.h
patch
|
blob
|
history
diff --git
a/src/variant.h
b/src/variant.h
index
852eb4a
..
36c91c9
100644
(file)
--- a/
src/variant.h
+++ b/
src/variant.h
@@
-263,6
+263,8
@@
struct Variant {
if (pieceToChar.find(token) != std::string::npos || pieceToCharSynonyms.find(token) != std::string::npos)
nnueMaxPieces++;
}
+ if (twoBoards)
+ nnueMaxPieces *= 2;
// For endgame evaluation to be applicable, no special win rules must apply.
// Furthermore, rules significantly changing game mechanics also invalidate it.