mirror of
https://github.com/ankitects/anki.git
synced 2026-01-05 18:13:56 -05:00
Merge 65f6223723 into 8f2144534b
This commit is contained in:
commit
4acd84d724
1 changed files with 3 additions and 0 deletions
|
|
@ -499,6 +499,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