mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Slight tidy up in endgame machinery
No functional change.
This commit is contained in:
committed by
Stéphane Nicolet
parent
53c07c34bb
commit
4bd24da161
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user