summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b056e5d)
Sizeof of search stack should be PLY_MAX+2 instead of PLY_MAX.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
struct SplitPoint {
SplitPoint *parent;
Position pos;
struct SplitPoint {
SplitPoint *parent;
Position pos;
- SearchStack sstack[THREAD_MAX][PLY_MAX];
+ SearchStack sstack[THREAD_MAX][PLY_MAX_PLUS_2];
SearchStack *parentSstack;
int ply;
Depth depth;
SearchStack *parentSstack;
int ply;
Depth depth;