We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2406830 commit 6d0e52eCopy full SHA for 6d0e52e
rslib/src/storage/sqlite.rs
@@ -326,7 +326,7 @@ fn add_extract_fsrs_retrievability(db: &Connection) -> rusqlite::Result<()> {
326
let review_day = due.saturating_sub(ivl);
327
days_elapsed.saturating_sub(review_day) as u32
328
};
329
- let decay = card_data.decay.unwrap_or_default();
+ let decay = card_data.decay.unwrap_or(FSRS5_DEFAULT_DECAY);
330
Ok(card_data.memory_state().map(|state| {
331
FSRS::new(None)
332
.unwrap()
0 commit comments