1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Fixed a compile error.

This commit is contained in:
nodchip 2020-06-30 15:58:51 +09:00
parent 486f72af54
commit c8262f8aec

View file

@ -2562,7 +2562,7 @@ Value parse_score_from_pgn_extract(std::string eval, bool& success) {
return VALUE_ZERO;
}
else {
return Value(value * PawnValueEg);
return Value(value * static_cast<double>(PawnValueEg));
}
}
}