linebender / linebender/tiny-skia
path_geometry::tests::find_cubic_max_curvature_1 fails on i686 (no SSE)
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 99
- Avg merge
- 2h 52m
- Merged PRs (30d)
- 1
Description
thread 'path_geometry::tests::find_cubic_max_curvature_1' panicked at 'assertion failed: `(left == right)`
left: `[NormalizedF32(FiniteF32(0.0)), NormalizedF32(FiniteF32(0.50000006)), NormalizedF32(FiniteF32(1.0))]`,
right: `[NormalizedF32(FiniteF32(0.0)), NormalizedF32(FiniteF32(0.5)), NormalizedF32(FiniteF32(1.0))]`', path/src/path_geometry.rs:892:9
Encountered in Debian's build of 0.8.2. Also reproduces in 4983d289384e719d1890e07173cbe497b8b2f953.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with path/src/path_geometry.rs:892 and the path_geometry::tests::find_cubic_max_curvature_1 test. Reproduce the assertion on i686 without SSE and compare the observed 0.50000006 value with the expected 0.5. Done means the test passes reliably on that target without masking the cubic curvature behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100