diff --git a/games/src/lib.rs b/games/src/lib.rs index 57518c9..7779198 100644 --- a/games/src/lib.rs +++ b/games/src/lib.rs @@ -23,7 +23,7 @@ pub fn perft( ) -> u64 { // Bulk counting if enabled. Instead of calling make move and perft for each // move at depth 1, just return the number of legal moves, which is equivalent. - if BULK && depth == 1 { + if BULK && !SPLIT && depth == 1 { return position.count_moves::() as u64; }