Skip to content

Commit

Permalink
keep legacy "linear" definition w/ connected
Browse files Browse the repository at this point in the history
  • Loading branch information
smichr committed Aug 5, 2022
1 parent d9b40d4 commit d14ddee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sympy/solvers/solvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1767,6 +1767,8 @@ def _solve_system(exprs, symbols, **flags):
for soldicts in product(*subsols):
sols.append(dict(item for sd in soldicts
for item in sd.items()))
# legacy "linear" value
linear = len(sols) == 1
return linear, sols

polys = []
Expand Down

0 comments on commit d14ddee

Please sign in to comment.