Skip to content

Commit 9de8a0f

Browse files
committed
Reformat code
1 parent 4ef71c0 commit 9de8a0f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/connect5.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -563,11 +563,7 @@ fn search(pos: &Pos, alpha: i32, beta: i32, depth: i32, _ply: i32) -> i32 {
563563
assert!(bs >= -EVAL_INF && bs <= EVAL_INF);
564564

565565
//best move at the root node, best score elsewhere
566-
if _ply == 0 {
567-
bm
568-
} else {
569-
bs
570-
}
566+
if _ply == 0 { bm } else { bs }
571567
}
572568

573569
/// Evaluation function: give different scores to different patterns after a fixed depth.

0 commit comments

Comments
 (0)