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

Fix bug on variables permutation, when additional variables #46

Merged
merged 4 commits into from
Feb 28, 2024

Conversation

rprebet
Copy link
Contributor

@rprebet rprebet commented Feb 28, 2024

Reordering the variables in the output of msolve moves additional variables from the end to the beginning, while we want to ignore their values when isolating.

This caused an "index out of range" when pairing the isolated values and the corresponding variables, because we do not isolate values of additional variables. This happens for the system [x^2-1,y^2] for example, so I added it to the tests.

This is my first pull request ever, I hope I've done things right.

src/algorithms/solvers.jl Outdated Show resolved Hide resolved
rprebet and others added 2 commits February 28, 2024 15:56
Useless mention of step length

Co-authored-by: ederc <ederc@mathematik.uni-kl.de>
@ederc
Copy link
Collaborator

ederc commented Feb 28, 2024

@rprebet Thank you very much for your PR. I just made the test a bit more robust.

@ederc ederc merged commit 9b6df3e into algebraic-solving:main Feb 28, 2024
7 checks passed
@rprebet rprebet deleted the fix-bug-permut branch March 26, 2024 09:32
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

Successfully merging this pull request may close these issues.

2 participants