From 16d661843e858435b4f51500cac2616222adb59b Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Mon, 10 Oct 2005 19:59:18 +0000 Subject: [PATCH] (math-check-known-square-matrixp): Change order in which value is checked. --- lisp/calc/calc-arith.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/calc/calc-arith.el b/lisp/calc/calc-arith.el index 810ed7bdd9f..feb3c9d25a8 100644 --- a/lisp/calc/calc-arith.el +++ b/lisp/calc/calc-arith.el @@ -383,8 +383,6 @@ (cond ((memq 'sqmatrix (nth 1 decl)) t) - ((memq 'matrix (nth 1 decl)) - nil) ((and (eq (car a) 'var) (boundp (nth 2 a)) (setq val (symbol-value (nth 2 a)))) @@ -394,6 +392,8 @@ (eq calc-matrix-mode 'sqmatrix)) (eq (car-safe a) 'var)) t) + ((memq 'matrix (nth 1 decl)) + nil) (t nil)))))) -- 2.39.5