summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/gnosis.el b/gnosis.el
index d9be4e9..ae0ce32 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -987,15 +987,6 @@ This function is used to round floating point numbers to 2 decimals,
such as the easiness factor (ef)."
(/ (round (* num 100.00)) 100.00))
-(defun gnosis-review-new-ef (id success)
- "Return new ef for note with value of id ID.
-
-Returns a list of the form (ef-increase ef-decrease ef).
-SUCCESS is a boolean value, t for success, nil for failure."
- (let ((ef (nth 1 (gnosis-review--algorithm id success)))
- (old-ef (gnosis-get 'ef 'review `(= id ,id))))
- (cl-substitute (gnosis-review-round ef) (nth 2 old-ef) old-ef)))
-
(defun gnosis-review--update (id success)
"Update review-log for note with value of id ID.