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: Luc Mcgrady <lucmcgrady@gmail.com>
This commit is contained in:
parent
b253983901
commit
ee7c620d06
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ impl Collection {
|
|||
}
|
||||
let days_elapsed = self.timing_today().unwrap().days_elapsed as i32;
|
||||
let new_cards =
|
||||
cards.iter().filter(|c| c.ctype == CardType::New).count() + req.deck_size as usize;
|
||||
cards.iter().filter(|c| c.ctype == CardType::New && c.queue != CardQueue::Suspended).count() + req.deck_size as usize;
|
||||
let fsrs = FSRS::new(Some(&req.params))?;
|
||||
let mut converted_cards = cards
|
||||
.into_iter()
|
||||
|
|
|
|||
Loading…
Reference in a new issue