X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fevaluate.cpp;h=1c30a5ac5ee0e40258b9d43d52f84726b73ee129;hb=860223c5e6b2df53af0415dbbbfdd4834f083708;hp=c69f675d349090003f693abc0b0b76b0286eafab;hpb=211ebc5c7abda34efce3a9d8a9382ce94a7cdb76;p=stockfish diff --git a/src/evaluate.cpp b/src/evaluate.cpp index c69f675d..1c30a5ac 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -905,7 +905,7 @@ namespace { } // namespace -Score Eval::Contempt = SCORE_ZERO; +std::atomic Eval::Contempt; /// evaluate() is the evaluator for the outer world. It returns a static evaluation /// of the position from the point of view of the side to move.