(calc-invent-variables): Convert integer to string.
authorColin Walters <walters@gnu.org>
Sat, 23 Feb 2002 21:33:19 +0000 (21:33 +0000)
committerColin Walters <walters@gnu.org>
Sat, 23 Feb 2002 21:33:19 +0000 (21:33 +0000)
lisp/calc/calcalg3.el

index 842290d..cecbc41 100644 (file)
     (while (and (> n 0) names)
       (setq var (math-build-var-name (if (consp names)
                                         (car names)
-                                      (concat base (setq nn (1+ nn))))))
+                                      (concat base (int-to-string
+                                                    (setq nn (1+ nn)))))))
       (or (math-expr-contains (cons 'vec but) var)
          (setq vars (cons var vars)
                n (1- n)))