runtime error: division by zero
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Building with -fsanitize=address,undefined and running the tests give:
include/tile_cover.hpp:199:35: runtime error: division by zero
SUMMARY: AddressSanitizer: undefined-behavior include/tile_cover.hpp:199:35 in
include/tile_cover.hpp:198:35: runtime error: division by zero
SUMMARY: AddressSanitizer: undefined-behavior include/tile_cover.hpp:198:35 in
/cc @flippmoke
Contributor guide
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
Build the project with -fsanitize=address,undefined and run the tests to reproduce the report. Inspect include/tile_cover.hpp at lines 198-199 and the tests or callers that reach those expressions; done means the sanitizer no longer reports division by zero.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- data
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100