Skip to content

Commit 1d654a8

Browse files
committed
Apply clang-format
1 parent e1a38be commit 1d654a8

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)