Skip to content

Commit 45bc06a

Browse files
committed
Apply clang-format
1 parent 1c9d05a commit 45bc06a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

search.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ Value qsearch(Board &board, Value alpha, Value beta, Session &session,
4444
board.doMove(move);
4545
Value score = qsearch(board, -beta, -alpha, session, ply + 1);
4646
board.undoMove();
47-
if (score==VALUE_NONE) return VALUE_NONE;
48-
score=-score;
47+
if (score == VALUE_NONE)
48+
return VALUE_NONE;
49+
score = -score;
4950
if (score >= beta)
5051
return score;
5152
if (score > maxScore)

0 commit comments

Comments
 (0)