changeset 68306:1da5034b091b

(math-add-symb-fancy): Check the length of the correct variable.
author Jay Belanger <jay.p.belanger@gmail.com>
date Sat, 21 Jan 2006 04:50:12 +0000
parents 07b6f0a646da
children 28cb719689fe
files lisp/calc/calc-arith.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc-arith.el	Sat Jan 21 04:31:11 2006 +0000
+++ b/lisp/calc/calc-arith.el	Sat Jan 21 04:50:12 2006 +0000
@@ -1201,7 +1201,7 @@
 	       (and (math-known-scalarp b)
 		    (math-add (nth 1 a) b))))
       (and (eq (car-safe b) 'calcFunc-idn)
-	   (= (length a) 2)
+	   (= (length b) 2)
 	   (or (and (math-square-matrixp a)
 		    (math-add a (math-mimic-ident (nth 1 b) a)))
 	       (and (math-known-scalarp a)