Slight tidy up in endgame machinery

No functional change.
This commit is contained in:
Marco Costalba
2018-07-21 10:30:22 +02:00
committed by Stéphane Nicolet
parent 53c07c34bb
commit 4bd24da161
5 changed files with 29 additions and 34 deletions

View File

@@ -152,7 +152,7 @@ Entry* probe(const Position& pos) {
// OK, we didn't find any special evaluation function for the current material
// configuration. Is there a suitable specialized scaling function?
EndgameBase<ScaleFactor>* sf;
const EndgameBase<ScaleFactor>* sf;
if ((sf = pos.this_thread()->endgames.probe<ScaleFactor>(key)) != nullptr)
{