From 08206ca5b6171d56c678f017752cdb17cb42badd Mon Sep 17 00:00:00 2001 From: Jarrett Ye Date: Wed, 9 Jul 2025 17:09:43 +0800 Subject: [PATCH] Fix condition in is_included_card function to check CardType instead of CardQueue --- rslib/src/scheduler/fsrs/simulator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/src/scheduler/fsrs/simulator.rs b/rslib/src/scheduler/fsrs/simulator.rs index 9c6e1f60b..e032ecaf3 100644 --- a/rslib/src/scheduler/fsrs/simulator.rs +++ b/rslib/src/scheduler/fsrs/simulator.rs @@ -132,7 +132,7 @@ impl Collection { fn is_included_card(c: &Card) -> bool { c.queue != CardQueue::Suspended && c.queue != CardQueue::PreviewRepeat - && c.queue != CardQueue::New + && c.ctype != CardType::New } // calculate any missing memory state for c in &mut cards {