Skip to content

Conversation

@LalehB
Copy link
Collaborator

@LalehB LalehB commented Jun 30, 2025

This fixes the fallback logic for the geometric ordering (when no coordinates are present). originally we used emplace_back on a pre-sized vector and std::iota with incorrect iterators, resulting in the detector orders not being filled correctly.
this solves those errors with :

tesseract: src/tesseract.cc:106: TesseractDecoder::TesseractDecoder(TesseractConfig): Assertion `config.det_orders[i].size() == config.dem.count_detectors()' failed.

@LalehB LalehB requested a review from noajshu June 30, 2025 18:02
Copy link
Contributor

@noajshu noajshu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

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.

2 participants