mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Fix compile on icc
Error is: a value of type "int" cannot be assigned to an entity of type "Value" Also retire the now unused squares_of_color() function. No functional change.
This commit is contained in:
@@ -902,7 +902,7 @@ moves_loop: // When in check and at SpNode search starts from here
|
||||
// Futility pruning: parent node
|
||||
if (predictedDepth < 7 * ONE_PLY)
|
||||
{
|
||||
futilityValue = ss->staticEval + futility_margin(predictedDepth) + 256;
|
||||
futilityValue = ss->staticEval + futility_margin(predictedDepth) + 256;
|
||||
|
||||
if (futilityValue <= alpha)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user