Skip to content
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

WIP: use the count to break early instead of segfault #19

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZLLentz
Copy link
Member

@ZLLentz ZLLentz commented Nov 26, 2024

https://jira.slac.stanford.edu/browse/ECS-6914

Notes to future me about past me:

  • There's at least one error here in the implementation
  • There are more efficient ways to do this, such as checking the pointer location or cutting early via multiplying width x height and checking it against count
  • The most important things here for the Jira are preventing the segfault and telling the user what is wrong with their camera config

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.

1 participant