Update rslib/src/scheduler/fsrs/simulator.rs

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
This commit is contained in:
Jarrett Ye 2025-07-08 20:36:21 +08:00 committed by GitHub
parent cef825b541
commit 2c7241c099
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(),