]> git.eshelyaron.com Git - emacs.git/commit
Fix linear equation system solving in Calc (bug#35374)
authorMattias Engdegård <mattiase@acm.org>
Sun, 22 Sep 2019 13:03:02 +0000 (15:03 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 29 Sep 2019 11:41:21 +0000 (13:41 +0200)
commit19405291aa5b1f7de7e44cc2efe384840b144236
treede07f6ca665f86881ffa7628a165c719fc3b7a11
parentab2a8f70775ff1c51e3b3b5f7b337c3fe5132db2
Fix linear equation system solving in Calc (bug#35374)

* lisp/calc/calcalg2.el (math-try-solve-for):
To solve Ax^n=0 where A is a nonzero constant and x the variable to
solve for, solve x^n=0 instead of solving A=0 (which obviously fails)
or something equally stupid.
* test/lisp/calc/calc-tests.el (calc-test-solve-linear-system): New.
lisp/calc/calcalg2.el
test/lisp/calc/calc-tests.el