Skip to content

Commit 198b342

Browse files
committed
bug?
1 parent 427dca3 commit 198b342

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

eval/tricks.rkt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,16 +387,16 @@
387387
;
388388
; ↑ampl[cosu]'x = ↑ampl[cosu]'n = maxlog(x) - minlog(n) - minlog(z) + 2 (accounting for pi)
389389
; ↓ampl[cosu]'x = ↓ampl[cosu]'n = 0 <-- maybe can be better
390-
(define x (first srcs))
391-
(define n (second srcs)) ; n is already a floor(log(n))
390+
(define x (car srcs))
391+
(define n (cdr srcs)) ; n is already a floor(log(n))
392392
(list (cons (- (maxlog x) n (minlog z) -2) 0))]
393393

394394
[(ival-tanu)
395395
; Γ[tanu]'x = |x*pi/n * (1 / cos^2(x*pi/n)) / tan(x*pi/n)|
396396
; ↑ampl[tanu]'x = ↑ampl[tanu]'n = maxlog(x) - minlog(n) + max(|minlog(z)|, |maxlog(z)|) + 3 (accounting for pi)
397397
; ↓ampl[tanu]'x = ↓ampl[tanu]'n = 0 <-- maybe can be better
398-
(define x (first srcs))
399-
(define n (second srcs)) ; n is already a floor(log(n))
398+
(define x (car srcs))
399+
(define n (cdr srcs)) ; n is already a floor(log(n))
400400
(list (cons (- (maxlog x) n (- (max (abs (maxlog z)) (abs (minlog z)))) -3) 0))]
401401

402402
; TODO

0 commit comments

Comments
 (0)