projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1415ac8
)
Limit depth for all=yes to reduce stack usage
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Sat, 18 Feb 2023 14:20:00 +0000 (15:20 +0100)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Sat, 18 Feb 2023 14:20:00 +0000 (15:20 +0100)
Partially addresses #583.
src/types.h
patch
|
blob
|
history
diff --git
a/src/types.h
b/src/types.h
index
4231ede
..
261d49e
100644
(file)
--- a/
src/types.h
+++ b/
src/types.h
@@
-229,10
+229,11
@@
constexpr int SQUARE_BITS = 6;
#ifdef ALLVARS
constexpr int MAX_MOVES = 8192;
+constexpr int MAX_PLY = 60;
#else
constexpr int MAX_MOVES = 1024;
-#endif
constexpr int MAX_PLY = 246;
+#endif
/// A move needs 16 bits to be stored
///