FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

slvs: don't try to initially satisfy unsupported constraints by iscgar · Pull Request #1562 · solvespace/solvespace · GitHub

slvs: don't try to initially satisfy unsupported constraints - #1562

Merged
phkahler merged 1 commit into
solvespace:masterfrom
iscgar:iscgar/slvs-satisfy
Apr 16, 2025
Merged

phkahler merged 1 commit into
solvespace:masterfrom
iscgar:iscgar/slvs-satisfy

Conversation

iscgar commented Apr 7, 2025

Copy link
Copy Markdown
Contributor

The current initial satisfaction code expects a constraint to only generate a single equation in order to be initially satisfiable. However, some constraints generate more than a single equation, and this hits an assertion.

SolveSpace itself only initially satisfies a small subset of constraints, so there is no point in trying to satisfy all types.

Fixes #1379

iscgar force-pushed the iscgar/slvs-satisfy branch from 3de15f7 to 6494d47 Compare April 8, 2025 16:27
The current code expects a constraint to only generate a single equation
in order to be initially satisfiable. However, some constraints generate
more than a single equation, and this hits an assertion.

SolveSpace itself only initially satisfies a small subset of constraints,
so there is no point in trying to satisfy all types.
iscgar force-pushed the iscgar/slvs-satisfy branch from 6494d47 to b2e8068 Compare April 11, 2025 07:07
phkahler merged commit cbcc5f5 into solvespace:master Apr 16, 2025
iscgar deleted the iscgar/slvs-satisfy branch April 17, 2025 16:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Constraint solver library crashing on parallel (and related) constraints

2 participants


Back | FazBrowse Home | New Git URL