aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.sc b/src/utils.sc
index d73d355..db59e15 100644
--- a/src/utils.sc
+++ b/src/utils.sc
@@ -75,9 +75,9 @@ exact value EXACT."
(return (fabs (- 1 (/ approx exact)))))
(sc-define-syntax* (with-root-fsolver solver solver-type function a b body ...)
- (let ((solver-type (sc-gensym)))
+ (let ((solver-type-var (sc-gensym)))
`(begin
- (let* ((,solver-type (const gsl-root-fsolver-type*) ,solver-type))
+ (let* ((,solver-type-var (const gsl-root-fsolver-type*) ,solver-type))
(with-alloc solver gsl-root-fsolver*
(gsl-root-fsolver-alloc ,solver-type)
gsl-root-fsolver-free