aboutsummaryrefslogtreecommitdiff
path: root/src/grossmeister
diff options
context:
space:
mode:
Diffstat (limited to 'src/grossmeister')
-rw-r--r--src/grossmeister/move_selector.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grossmeister/move_selector.rs b/src/grossmeister/move_selector.rs
index a3671e4..fa113ce 100644
--- a/src/grossmeister/move_selector.rs
+++ b/src/grossmeister/move_selector.rs
@@ -207,7 +207,8 @@ impl Grossmeister {
MoveGenStage::Quiet => {
if self.move_selector().stage_moves.moves.is_empty() {
let moves = self.board.generate_moves_core(false);
- let scored = self.score_moves(moves);
+ // No need to score quiet moves? TODO: doublecheck
+ let scored = moves.iter().map(|&m| (m, 0.0)).collect();
self.init_stage(scored);
}
match self.move_selector().stage_moves.next() {