mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
d810441b35
Allow to use EvalInfo struct, populated by evaluation(), in search. In particular we allocate Eval::Info on the stack and pass a pointer to this to evaluate(). Also add to Search::Stack a pointer to Eval::Info, this allows to reference eval info of previous/next nodes. WARNING: Eval::Info is NOT initialized and is populated by evaluate(), only if the latter is called, and this does not happen in all the code paths, so care should be taken when accessing this struct. No functional change.