Skip to content

Commit 51ec39a

Browse files
committed
Merge branch 'sf_eval' of github.com:winapiadmin/cppchess_engine into histories
2 parents 5052672 + 1d654a8 commit 51ec39a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎eval.cpp‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -751,9 +751,7 @@ Value score_from_components(const EvalComponents &comp, const chess::Position &b
751751
return v * sign + engine::eval::tempo;
752752
}
753753

754-
Value eval(const chess::Position &board) {
755-
return score_from_components(eval_components(board), board);
756-
}
754+
Value eval(const chess::Position &board) { return score_from_components(eval_components(board), board); }
757755
Value piece_value_mg(PieceType pt) {
758756
Value pieces[] = { 0, PawnValueMG, KnightValueMG, BishopValueMG, RookValueMG, QueenValueMG, 0 };
759757
return pieces[pt];

0 commit comments

Comments
 (0)