Fix/FSRS-6 doesn't give <1d intervals

https://forums.ankiweb.net/t/anki-25-05-beta-1/59710/8?u=l.m.sherlock
This commit is contained in:
Jarrett Ye 2025-04-25 22:35:11 +08:00
parent 7556f71b96
commit 40d1fa1500

View file

@ -468,7 +468,7 @@ impl Collection {
self.get_config_bool(BoolKey::FsrsShortTermWithStepsEnabled);
let fsrs_allow_short_term = if fsrs_enabled {
let params = config.fsrs_params();
if params.len() == 19 {
if params.len() >= 19 {
params[17] > 0.0 && params[18] > 0.0
} else {
false