summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 11:23:24 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 11:23:24 +0100
commitf9cd77b43afebce15a1a72173a3275a9020e3a5c (patch)
tree0fef40160cc95206b1b686b6ef2d462dc9ca41b1
parentd71b9378b3c83e8a678f869d0b6c0f4b01e78373 (diff)
Return to the proper triangular number formula
-rw-r--r--org-fc-algo-tn.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-fc-algo-tn.el b/org-fc-algo-tn.el
index 90b5419..b6a23b5 100644
--- a/org-fc-algo-tn.el
+++ b/org-fc-algo-tn.el
@@ -6,7 +6,7 @@
"The mathematical formula for the Nth triangular number."
(if (zerop n)
0
- (/ (* n (1+ n)) 4.0)))
+ (/ (* n (1+ n)) 2.0)))
(defun org-fc-algo-tn-next-parameters (ease box interval rating)
"Calculate the next parameters of a card, based on the review RATING.