summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-alg.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/calc/calc-alg.el')
-rw-r--r--lisp/calc/calc-alg.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/calc/calc-alg.el b/lisp/calc/calc-alg.el
index 014e7c3eddf..d64e7d7aac1 100644
--- a/lisp/calc/calc-alg.el
+++ b/lisp/calc/calc-alg.el
@@ -501,9 +501,9 @@
(eq signs 5))
math-living-dangerously)))
(math-numberp (car np)))
- (let ((n (car np))
- d dd
- (safe t) (scalar (math-known-scalarp n)))
+ (let (d
+ (safe t)
+ (scalar (math-known-scalarp (car np))))
(while (and (eq (car-safe (setq d (car dp))) '*)
safe)
(math-simplify-one-divisor np (cdr d))