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 in variable permutation #73

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

rprebet
Copy link
Contributor

@rprebet rprebet commented Aug 29, 2024

When msolve permute the variables or add new ones, re-order the real solutions in the initial variable ordering, and remove the entries corresponding to the additional variables.

The previous version was ordering in the alphabetic order not working e.g. if the input variables were [:x1, :x2, :x3, :x4, :B, :A], it was reordering the roots as [:A, :B, :x1, :x2, :x3, :x4].

@mohabsafey
Copy link
Collaborator

Thanks

@mohabsafey mohabsafey merged commit 2768ecb into algebraic-solving:main Aug 30, 2024
8 checks passed
@rprebet rprebet deleted the bug-order-vars branch September 3, 2024 09:55
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