mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Fix FSRS easy interval being same as good interval in relearning cards
https://github.com/ankitects/anki/pull/3236#issuecomment-2187787774
This commit is contained in:
parent
0d8d816a0c
commit
9d1342beb2
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ impl RelearnState {
|
||||||
fn answer_easy(self, ctx: &StateContext) -> ReviewState {
|
fn answer_easy(self, ctx: &StateContext) -> ReviewState {
|
||||||
let scheduled_days = if let Some(states) = &ctx.fsrs_next_states {
|
let scheduled_days = if let Some(states) = &ctx.fsrs_next_states {
|
||||||
let (minimum, maximum) = ctx.min_and_max_review_intervals(1);
|
let (minimum, maximum) = ctx.min_and_max_review_intervals(1);
|
||||||
let interval = states.easy.interval;
|
let interval = states.easy.interval + 1;
|
||||||
ctx.with_review_fuzz(interval as f32, minimum, maximum)
|
ctx.with_review_fuzz(interval as f32, minimum, maximum)
|
||||||
} else {
|
} else {
|
||||||
self.review.scheduled_days + 1
|
self.review.scheduled_days + 1
|
||||||
|
|
Loading…
Reference in a new issue