aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJay Belanger2011-02-26 19:55:29 -0600
committerJay Belanger2011-02-26 19:55:29 -0600
commit53f963cf73d93a7d1dca07d4c338acd5b6c8cb2f (patch)
treed644b48bf189ff681fb86b29e6af1c2845b19549 /lisp
parentb49df7426b4647433b2309c4f320133e4ce37009 (diff)
downloademacs-53f963cf73d93a7d1dca07d4c338acd5b6c8cb2f.tar.gz
emacs-53f963cf73d93a7d1dca07d4c338acd5b6c8cb2f.zip
Adjust previous change to behave as intended.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/calc/calc-vec.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/calc/calc-vec.el b/lisp/calc/calc-vec.el
index 401a4f516c6..47ef3241b3e 100644
--- a/lisp/calc/calc-vec.el
+++ b/lisp/calc/calc-vec.el
@@ -759,13 +759,13 @@
759 (math-reject-arg n "*Index out of range"))))) 759 (math-reject-arg n "*Index out of range")))))
760 760
761(defun calcFunc-subscr (mat n &optional m) 761(defun calcFunc-subscr (mat n &optional m)
762 (if (eq (car-safe mat) 'var) nil) 762 (if (eq (car-safe mat) 'var) nil
763 (setq mat (calcFunc-mrow mat n)) 763 (setq mat (calcFunc-mrow mat n))
764 (if m 764 (if m
765 (if (math-num-integerp n) 765 (if (math-num-integerp n)
766 (calcFunc-mrow mat m) 766 (calcFunc-mrow mat m)
767 (calcFunc-mcol mat m)) 767 (calcFunc-mcol mat m))
768 mat)) 768 mat)))
769 769
770;;; Get the Nth column of a matrix. 770;;; Get the Nth column of a matrix.
771(defun math-mat-col (mat n) 771(defun math-mat-col (mat n)