X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.h;h=67d555a461935215e729717241ccf94d40c5f59b;hp=0119caab8bf2a7d9fd8f2b77934c8facc8ab4692;hb=3c07603dac03f0da20194097cf4eb1a396fea60d;hpb=c73f33f37e56048f4e137dd5e5118367eb072a05 diff --git a/src/material.h b/src/material.h index 0119caab..67d555a4 100644 --- a/src/material.h +++ b/src/material.h @@ -40,7 +40,7 @@ struct Entry { Score imbalance() const { return make_score(value, value); } Phase game_phase() const { return gamePhase; } - bool specialized_eval_exists() const { return evaluationFunction != NULL; } + bool specialized_eval_exists() const { return evaluationFunction != nullptr; } Value evaluate(const Position& pos) const { return (*evaluationFunction)(pos); } // scale_factor takes a position and a color as input and returns a scale factor