changeset 43488:395cff3e82cd

(calc-invent-variables): Convert integer to string.
author Colin Walters <walters@gnu.org>
date Sat, 23 Feb 2002 21:33:19 +0000
parents 8084180ea261
children ffa9b62fa5b9
files lisp/calc/calcalg3.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calcalg3.el	Sat Feb 23 18:39:29 2002 +0000
+++ b/lisp/calc/calcalg3.el	Sat Feb 23 21:33:19 2002 +0000
@@ -328,7 +328,8 @@
     (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)))