diff options
author | Thanos Apollo <[email protected]> | 2024-03-01 23:23:12 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-03-01 23:23:12 +0200 |
commit | 2525388d53f911005762463769b2e4e16ee41796 (patch) | |
tree | 0b9441dd07d5f341488c940cf3d7037a110e77ef /gnosis.el | |
parent | 67e4ce6300f75ecc3c072176a2bfeada936a3a95 (diff) |
Remove gnosis-review-new-ef
Calculate new ef using gnosis-algorithm
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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. |