Skip to content

Simplify logic and avoid overflow in msolve.c#281

Merged
mohabsafey merged 3 commits intoalgebraic-solving:masterfrom
vneiger:fixing_issue277
Mar 12, 2026
Merged

Simplify logic and avoid overflow in msolve.c#281
mohabsafey merged 3 commits intoalgebraic-solving:masterfrom
vneiger:fixing_issue277

Conversation

@vneiger
Copy link
Copy Markdown
Contributor

@vneiger vneiger commented Mar 8, 2026

Fixes #277 .

This simpler code should do the same thing as the one that was present. However I'm not sure that the one that was present had the intended behaviour, since some sum value was computed and never used (see #277 ).

@vneiger vneiger marked this pull request as ready for review March 8, 2026 16:24
@mohabsafey
Copy link
Copy Markdown
Contributor

Thanks. This looks very much ok for being merged

@mohabsafey mohabsafey merged commit 35b7a7b into algebraic-solving:master Mar 12, 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.

Likely overflow and some logic question in add_random_linear_form

2 participants