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.
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.