mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
move comment line
This commit is contained in:
parent
35fa731b75
commit
f91dec44ee
1 changed files with 1 additions and 1 deletions
|
@ -294,6 +294,7 @@ pub(crate) fn single_card_revlog_to_item(
|
|||
starting_state: None,
|
||||
}))
|
||||
} else if let Some(first_non_manual_entry) = filtered_entries.first() {
|
||||
// the revlog has been truncated, but not fully
|
||||
let first_review = FirstReview {
|
||||
interval: first_non_manual_entry.interval.max(1) as f32,
|
||||
ease_factor: if first_non_manual_entry.ease_factor == 0 {
|
||||
|
@ -303,7 +304,6 @@ pub(crate) fn single_card_revlog_to_item(
|
|||
} as f32
|
||||
/ 1000.0,
|
||||
};
|
||||
// the revlog has been truncated, but not fully
|
||||
let mut starting_state = fsrs.memory_state_from_sm2(
|
||||
first_review.ease_factor,
|
||||
first_review.interval,
|
||||
|
|
Loading…
Reference in a new issue