Skip to content

feat: Add some extra assertions #971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

niermann999
Copy link
Contributor

@niermann999 niermann999 commented Apr 9, 2025

Add some assertions for the next candidate index and make sure the track parameters are valid. The latter will catch the segfault in traccc issue #913. Also tries to catch potential divisions by zero in the stepper and catch invalid surface/volume descriptors early. This lead to some minor followup corrections in the tests

@niermann999 niermann999 added the enhancement New feature or request label Apr 9, 2025
@niermann999 niermann999 force-pushed the feat-more-assertions branch 6 times, most recently from 072c8a5 to f0d764d Compare April 10, 2025 14:21
@niermann999 niermann999 marked this pull request as ready for review April 10, 2025 14:22
@niermann999 niermann999 force-pushed the feat-more-assertions branch 5 times, most recently from cb20bc7 to 18494c2 Compare April 10, 2025 15:49
@niermann999 niermann999 force-pushed the feat-more-assertions branch 2 times, most recently from 02137cf to dc2b539 Compare April 14, 2025 08:39
@niermann999 niermann999 added the blocked This item is blocked by another item label Apr 14, 2025
@niermann999 niermann999 marked this pull request as draft April 14, 2025 14:59
@niermann999 niermann999 force-pushed the feat-more-assertions branch 11 times, most recently from 39ef59c to 1b711cd Compare April 18, 2025 08:24
@niermann999 niermann999 force-pushed the feat-more-assertions branch 9 times, most recently from 0b3ab95 to 6ab4aae Compare April 23, 2025 07:53
@niermann999 niermann999 marked this pull request as ready for review April 23, 2025 07:54
@niermann999 niermann999 removed the blocked This item is blocked by another item label Apr 29, 2025
@niermann999 niermann999 force-pushed the feat-more-assertions branch from 6ab4aae to 0f2d13f Compare April 29, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant