mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 20:45:06 +02:00
Fix syntax error
This commit is contained in:
parent
7f04517ce6
commit
0b4803a7ef
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@
|
||||||
(define (%queue-size q)
|
(define (%queue-size q)
|
||||||
(let ((start (q:start q))
|
(let ((start (q:start q))
|
||||||
(end (q:end q))
|
(end (q:end q))
|
||||||
(capacity (vector-length (q:store))))
|
(capacity (vector-length (q:store q))))
|
||||||
(cond
|
(cond
|
||||||
((< end start) (+ (- capacity start) end))
|
((< end start) (+ (- capacity start) end))
|
||||||
((> end start) (- end start))
|
((> end start) (- end start))
|
||||||
|
|
Loading…
Add table
Reference in a new issue