From bae80381783d96b0a879522ccb5b7be6ea1b7b91 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 26 Sep 2023 13:03:49 +1000 Subject: [PATCH] Allow desired retention to be set to 0.7 https://github.com/open-spaced-repetition/fsrs-rs/issues/79#issuecomment-1733779005 --- rslib/src/deckconfig/mod.rs | 2 +- ts/deck-options/FsrsOptions.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rslib/src/deckconfig/mod.rs b/rslib/src/deckconfig/mod.rs index 820e4b8ab..a29a1b41c 100644 --- a/rslib/src/deckconfig/mod.rs +++ b/rslib/src/deckconfig/mod.rs @@ -270,7 +270,7 @@ pub(crate) fn ensure_deck_config_values_valid(config: &mut DeckConfigInner) { ensure_f32_valid( &mut config.desired_retention, default.desired_retention, - 0.8, + 0.7, 0.97, ); } diff --git a/ts/deck-options/FsrsOptions.svelte b/ts/deck-options/FsrsOptions.svelte index c0f6d377e..fe968f972 100644 --- a/ts/deck-options/FsrsOptions.svelte +++ b/ts/deck-options/FsrsOptions.svelte @@ -189,7 +189,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html