changeset 43404:36c14bc6e7fb

(math-solve-get-int): Convert return value from `math-get-from-counter' to a string before calling `concat' on it.
author Colin Walters <walters@gnu.org>
date Mon, 18 Feb 2002 20:06:20 +0000
parents fef73ecd984e
children 9550f54734dc
files lisp/calc/calcalg2.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calcalg2.el	Mon Feb 18 20:06:07 2002 +0000
+++ b/lisp/calc/calcalg2.el	Mon Feb 18 20:06:20 2002 +0000
@@ -3160,7 +3160,8 @@
 	      (math-mul val (list 'calcFunc-an var-GenCount))
 	    (setq var-GenCount (math-add var-GenCount 1))
 	    (calc-refresh-evaltos 'var-GenCount))
-	(let* ((var (concat "n" (math-get-from-counter 'solve-int)))
+	(let* ((var (concat "n" (int-to-string
+				 (math-get-from-counter 'solve-int))))
 	       (var2 (list 'var (intern var) (intern (concat "var-" var)))))
 	  (if (and range (eq solve-full 'all))
 	      (setq math-solve-ranges (cons (cons var2