Better naming in endgame code
[stockfish] / src / material.cpp
index e5b8ddf2ac819cf6b11a71926eab3946d6d26c36..dc2a3a3b550c6eddaf9e8e1d378e5921c77bf72b 100644 (file)
@@ -155,7 +155,7 @@ Entry* probe(const Position& pos) {
 
   if ((sf = pos.this_thread()->endgames.probe<ScaleFactor>(key)) != nullptr)
   {
-      e->scalingFunction[sf->strong_side()] = sf; // Only strong color assigned
+      e->scalingFunction[sf->strongSide] = sf; // Only strong color assigned
       return e;
   }