summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-01 23:29:12 +0200
committerThanos Apollo <[email protected]>2024-03-01 23:29:12 +0200
commit1d2abb3c16f7d07d4b76ca662088eed7e4433a54 (patch)
tree95dad369cc0700d1b2a472456e17af4af3d277a6 /gnosis.el
parent1236d1e55e31d1414991cd3542c9a396ba086d72 (diff)
Remove gnosis-review-round
Deprecated
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/gnosis.el b/gnosis.el
index ae0ce32..6220d10 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -980,13 +980,6 @@ Returns a list of the form ((yyyy mm dd) (ef-increase ef-decrease ef-total))."
(let ((last-rev (gnosis-get 'last-rev 'review-log `(= id ,id))))
(gnosis-algorithm-date-diff last-rev)))
-(defun gnosis-review-round (num)
- "Round NUM to 2 decimals.
-
-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--update (id success)
"Update review-log for note with value of id ID.