mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Fix/FSRS short-term schedule doesn't work with default params
This commit is contained in:
parent
dac26ce671
commit
65f6223723
1 changed files with 3 additions and 0 deletions
|
|
@ -488,6 +488,9 @@ impl Collection {
|
|||
let params = config.fsrs_params();
|
||||
if params.len() >= 19 {
|
||||
params[17] > 0.0 && params[18] > 0.0
|
||||
} else if params.is_empty() {
|
||||
// fallback to true when using default params
|
||||
true
|
||||
} else {
|
||||
false
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue