summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-03 03:41:44 +0200
committerThanos Apollo <[email protected]>2024-03-03 03:41:44 +0200
commitdd708efdd7a797950d9f6668342894325ba1c559 (patch)
treeabd7e30e3b26834001a32f4e91c23c5df876b8cf
parent31581cc1134c6bec36bd254d4c070ebb62e7b8c3 (diff)
gnosis-review-algorithm: Add gnosis-get-ef-VALUE
Use ef-increase/decrease/threshold for deck if defined. Otherwise refer to the coresponding variables
-rw-r--r--gnosis.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnosis.el b/gnosis.el
index b0bdc79..432a05b 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -976,9 +976,9 @@ Returns a list of the form ((yyyy mm dd) (ef-increase ef-decrease ef-total))."
:initial-interval initial-interval)
(gnosis-algorithm-next-ef :ef ef
:success success
- :increase gnosis-algorithm-ef-increase
- :decrease gnosis-algorithm-ef-decrease
- :frequency gnosis-algorithm-ef-threshold
+ :increase (gnosis-get-ef-increase id)
+ :decrease (gnosis-get-ef-decrease id)
+ :threshold (gnosis-get-ef-threshold id)
:c-successes c-success
:c-failures c-fails))))