This info will be used by future patches.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
pv[ply] = pv[ply + 1] = MOVE_NONE;
currentMove = threatMove = MOVE_NONE;
reduction = Depth(0);
+ eval = VALUE_NONE;
}
void SearchStack::initKillers() {
const int FutilityValueMargin = 112 * bitScanReverse32(int(depth) * int(depth) / 2);
// Enhance score accuracy with TT value if possible
+ ss[ply].eval = staticValue;
futilityValue = staticValue + FutilityValueMargin;
staticValue = refine_eval(tte, staticValue, ply);
#include "depth.h"
#include "move.h"
+#include "value.h"
////
Move threatMove;
Move killers[KILLER_MAX];
Depth reduction;
+ Value eval;
void init(int ply);
void initKillers();