This commit is contained in:
2026-05-29 13:11:16 -07:00
parent 388a45b5ec
commit 1d96eec147
+1 -1
View File
@@ -437,7 +437,7 @@ where
type Stats = SessionStats<G::Stats>;
type Config = SessionConfig<G::Config>;
type Instruction = SessionInstruction<G::Instruction>;
fn score(&self, stats: &Self::Stats, config: &Self::Config) -> i32 {
fn score(&self, stats: &Self::Stats, config: &Self::Config) -> Self::Score {
self.state.score(&stats.inner, &config.inner) + stats.undos as i32 * config.undo_penalty
}
fn possible_instructions(