mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 02:57:11 +08:00
Prefix abs with std::
This commit is contained in:
@@ -178,7 +178,7 @@ static bool write_parameters(std::ostream& stream, NetSize netSize) {
|
|||||||
void hint_common_parent_position(const Position& pos) {
|
void hint_common_parent_position(const Position& pos) {
|
||||||
|
|
||||||
int simpleEval = simple_eval(pos, pos.side_to_move());
|
int simpleEval = simple_eval(pos, pos.side_to_move());
|
||||||
if (abs(simpleEval) > 1050)
|
if (std::abs(simpleEval) > 1050)
|
||||||
featureTransformerSmall->hint_common_access(pos);
|
featureTransformerSmall->hint_common_access(pos);
|
||||||
else
|
else
|
||||||
featureTransformerBig->hint_common_access(pos);
|
featureTransformerBig->hint_common_access(pos);
|
||||||
|
|||||||
Reference in New Issue
Block a user