Skip to content

Fix bug shape position#294

Merged
mohabsafey merged 3 commits intoalgebraic-solving:masterfrom
jerebertho:fix_bug_shape_position
Mar 14, 2026
Merged

Fix bug shape position#294
mohabsafey merged 3 commits intoalgebraic-solving:masterfrom
jerebertho:fix_bug_shape_position

Conversation

@jerebertho
Copy link
Contributor

Because of a comparison error, when the ideal is not radical but in shape position, msolve was introducing a linear form in order to compute the parametrization of the solution.
This PR fixes this and add make check tests for this.

As a side effect, the example of issue #284 is not reproducible anymore as the ideal is actually in shape position.
Likewise, the test diff_choice-linear-form-qq.sh is actually an example in shape position and so does not test what it was introduced for. As a consequence, it has been deactivated.

@mohabsafey
Copy link
Contributor

Many thanks. Do we have a test for this (non-radical ideal but in shape position)?
I think it is worth to have a test for such situations (so that we avoid to repeat this mistake in the future)

@jerebertho
Copy link
Contributor Author

Yes, we do: there is one called nonradical-shape.

There is also a new one that is not radical and requires a linear form called x2y2.

@mohabsafey mohabsafey merged commit 754adb7 into algebraic-solving:master Mar 14, 2026
3 checks passed
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