X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.h;h=67d555a461935215e729717241ccf94d40c5f59b;hp=0119caab8bf2a7d9fd8f2b77934c8facc8ab4692;hb=e53774bc49dd0aaa1c129ee98c09e1a56ef974fb;hpb=4eb2d8ce095b284a1e55762548d9821a83a19b3b 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