Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of equations and symbols do not match in linsolve #404

Open
JJShi92 opened this issue May 21, 2022 · 0 comments
Open

Number of equations and symbols do not match in linsolve #404

JJShi92 opened this issue May 21, 2022 · 0 comments

Comments

@JJShi92
Copy link

JJShi92 commented May 21, 2022

If the number of equations doesn't equal to the number of symbols, the error "Number of equations and symbols do not match" raises.
However, only when number of equations less than the number of symbols, the solver can not find the soluation.
Only if the number of equations not less than the number of symbols, the solver should still be valid.
I think maybe we can change the condiftion "if syms_.size() != eqs_.size():" to "if syms_.size() > eqs_.size():"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant