Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix assertion caused by access to default TBOX
Instead of adding an empty TBOX at the end of the box list, that corner case is now handled by passing a nullptr (like it was already done for the first box in the list). This avoids the calls of BoxMissMetric with a TBOX which raises an assertion there (b == 0). Signed-off-by: Stefan Weil <sw@weilnetz.de>
- Loading branch information
Showing
2 changed files
with
46 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters