mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 05:53:53 -05:00
Update rslib/src/scheduler/fsrs/simulator.rs
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
This commit is contained in:
parent
cef825b541
commit
2c7241c099
1 changed files with 1 additions and 0 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue