fixup! Fixed an inconsistency

master
Brady McDonough 5 years ago
parent 0579b5320e
commit e416bb3f07

@ -29,7 +29,5 @@
;; Normalize the time tm to be the next step sized increment from base.
;; All time arguments are expected to be a time in seconds
(define (step-from base step tm)
(let ((steps (truncate-quotient (abs (- tm base)) step)))
(let ((steps (euclidean-quotient (- tm base) step)))
(+ base (* step (+ 1 steps)))))

Loading…
Cancel
Save