summaryrefslogtreecommitdiff
path: root/gnosis-algorithm.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-17 03:16:55 +0200
committerThanos Apollo <[email protected]>2024-01-17 03:18:30 +0200
commit3d2fd9cf51f0a88afb524e1f67fce2c91f9f9854 (patch)
tree72d61f0edf0e0226210cc200953288c67f14a610 /gnosis-algorithm.el
parent9357fe4c96a8c127a66f52a51e4a3d5d51fcd7a7 (diff)
Update type of gnosis-algorithm-interval & ef
- Add type for list
Diffstat (limited to 'gnosis-algorithm.el')
-rw-r--r--gnosis-algorithm.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnosis-algorithm.el b/gnosis-algorithm.el
index 48485eb..1756e8e 100644
--- a/gnosis-algorithm.el
+++ b/gnosis-algorithm.el
@@ -41,7 +41,7 @@ Note: `gnosis-algorithm-interval' is ignored after 10 TOTAL reviews or
when ef is above > 3.0, which should only be the case for customized
notes/review sessions."
:group 'gnosis
- :type 'list)
+ :type '(list integer))
(defcustom gnosis-algorithm-ef '(0.3 0.3 1.3)
"Gnosis easiness factor.
@@ -52,7 +52,7 @@ Third item : Starting total ef
Note: Starting total ef should not be above 3.0"
:group 'gnosis
- :type 'list)
+ :type '(list float))
(defcustom gnosis-algorithm-ff 0.5
"Gnosis forgetting factor.