Skip to content

Commit

Permalink
Add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Jul 31, 2022
1 parent 202500a commit c055d24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions diofant/tests/solvers/test_solvers.py
Expand Up @@ -1766,3 +1766,7 @@ def test_sympyissue_23637():
{x: -2.0, y: -1.0}, {x: 1.3235849477227735, y: -0.32419504840343982},
{x: 3.0040159362898193, y: -1.0015924793400075}, {x: 5.0, y: -4.0}]
assert solve([rea1, rea2], x, y) == sol


def test_sympyissue_23855():
assert solve([x - 1], x, x) == [{x: 1}]
1 change: 1 addition & 0 deletions docs/release/notes-0.14.rst
Expand Up @@ -95,3 +95,4 @@ These Sympy issues also were addressed:
* :sympyissue:`23677`: minimal_polynomial fails for very complicated algebraic number
* :sympyissue:`23836`: Incorrect results for limits of Piecewise at discontinuity
* :sympyissue:`23845`: Gruntz should have been free of _w, value error, recursion error
* :sympyissue:`23855`: linsolve gives odd result if symbols are duplicated

0 comments on commit c055d24

Please sign in to comment.