Commit 5c0e273a authored by Jay Belanger's avatar Jay Belanger
Browse files

(calcFunc-inv): Check for symbolic matrices.

parent 7199ddd2
......@@ -646,8 +646,11 @@ loaded and the keystroke automatically re-typed."
(or (math-with-extra-prec 2 (math-matrix-inv-raw m))
(math-reject-arg m "*Singular matrix"))
(math-reject-arg m 'square-matrixp)))
(math-div 1 m)))
(if (and
(require 'calc-arith)
(math-known-matrixp m))
(math-pow m -1)
(math-div 1 m))))
(defun math-do-working (msg arg)
(or executing-kbd-macro
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment