X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=e167bb6994f788ec4a81ae12b236d34b78d371c8;hp=0f0034b2101eedd36a546dbb01d7a99be64c745e;hb=85a7456bd7e8a1a01cdbfa8f4b6fb563d15a37c6;hpb=d664773a8316f04ba6e59b7bfccd14c3dc2af5f1 diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 0f0034b2..e167bb69 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -241,7 +241,7 @@ namespace { template Score evaluate_passed_pawns(const Position& pos, EvalInfo& ei); - Score apply_weight(Score v, Score weight); + inline Score apply_weight(Score v, Score weight); Value scale_by_game_phase(const Score& v, Phase ph, ScaleFactor sf); Score weight_option(const std::string& mgOpt, const std::string& egOpt, Score internalWeight); void init_safety();