]> 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>
Mon, 23 Sep 2019 09:49:55 +0000 (11:49 +0200)
commit73e1727c405214086bb3a0647c91855e1b0853c2
tree8160877760c649327909662937eb0f1064375c17
parentbba9757a1fd7b05f7b18b0666735711d231972fa
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