From 2c7241c0996f81838f5b93fec266a760f2347b4f Mon Sep 17 00:00:00 2001 From: Jarrett Ye Date: Tue, 8 Jul 2025 20:36:21 +0800 Subject: [PATCH] Update rslib/src/scheduler/fsrs/simulator.rs Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com> --- rslib/src/scheduler/fsrs/simulator.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rslib/src/scheduler/fsrs/simulator.rs b/rslib/src/scheduler/fsrs/simulator.rs index 595f2a028..42810dd49 100644 --- a/rslib/src/scheduler/fsrs/simulator.rs +++ b/rslib/src/scheduler/fsrs/simulator.rs @@ -153,6 +153,7 @@ impl Collection { .filter_map(|c| { let memory_state = match c.memory_state { Some(state) => state, + // cards that lack memory states after compute_memory_state have no FSRS items, implying a truncated or ignored revlog None => fsrs .memory_state_from_sm2( c.ease_factor(),