Skip to content

Commit

Permalink
Prefix abs with std::
Browse files Browse the repository at this point in the history
  • Loading branch information
Disservin committed Jan 7, 2024
1 parent f09adaa commit 7c5e3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nnue/evaluate_nnue.cpp
Expand Up @@ -178,7 +178,7 @@ static bool write_parameters(std::ostream& stream, NetSize netSize) {
void hint_common_parent_position(const Position& pos) {

int simpleEval = simple_eval(pos, pos.side_to_move());
if (abs(simpleEval) > 1050)
if (std::abs(simpleEval) > 1050)
featureTransformerSmall->hint_common_access(pos);
else
featureTransformerBig->hint_common_access(pos);
Expand Down

0 comments on commit 7c5e3f2

Please sign in to comment.