mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Don't treat manually scheduled cards with no reps as new cards (#3727)
Complements the change in https://github.com/ankitects/anki/pull/3639, ensuring that scheduler and rescheduling produce the same results.
This commit is contained in:
parent
d153ce9241
commit
c35237c94d
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ impl Card {
|
|||
) -> Result<()> {
|
||||
let memory_state = if let Some(i) = item {
|
||||
Some(fsrs.memory_state(i.item, i.starting_state)?)
|
||||
} else if self.ctype == CardType::New || self.interval == 0 || self.reps == 0 {
|
||||
} else if self.ctype == CardType::New || self.interval == 0 {
|
||||
None
|
||||
} else {
|
||||
// no valid revlog entries; infer state from current card state
|
||||
|
|
Loading…
Reference in a new issue