]> code.delx.au - gnu-emacs/commitdiff
(math-add-symb-fancy): Check the length of the correct variable.
authorJay Belanger <jay.p.belanger@gmail.com>
Sat, 21 Jan 2006 04:52:06 +0000 (04:52 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Sat, 21 Jan 2006 04:52:06 +0000 (04:52 +0000)
lisp/ChangeLog
lisp/calc/calc-arith.el

index d84868c746cbd2356e2503b930735305c706bff7..d8beecfd4a0b215f8c868b15aa0b8c4e3e23f80a 100644 (file)
@@ -3,6 +3,9 @@
        * calc/calcalg2.el (calc-sum-rec): Fix the sum when the lower
        limit is 0.
 
+       * calc/calc-arith.el (math-add-symb-fancy): Check the length of
+       the correct variable.
+
 2006-01-20  Carsten Dominik  <dominik@science.uva.nl>
 
        * textmodes/org.el: (org-open-at-point): Fixed bug with matching a
index dc341cb7aec00254bb12d2e20e3e6cf875bd174a..64e0b4b7d10b26d19c4be567a479568a04c3a01a 100644 (file)
               (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)