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

Fix a temporary objects issue with DefaultIndexableGetter #1045

Merged
merged 2 commits into from
Apr 1, 2024

Conversation

aprokop
Copy link
Contributor

@aprokop aprokop commented Mar 15, 2024

In 0fdfa87 (part of #915), we addressed the temporaries issues when passing around
PairValueIndex. What we didn't realize at the time, that similar issues
could have been present in the geometries part too.

This was shown to break behavior of the FDBSCAN-DenseBox when called
with primitives assembled on the fly using AccessTraits. In that case,
the scene bounding box was completely wrong, resulting in random
asserts.

This only makes ArborX internally work. I'm not sure if we still have a potential issue when a user defines their own indexable getter. I'm not confident I understand the intricacies of what's going on.

aprokop added 2 commits March 14, 2024 19:08
In 0fdfa87, we addressed the temporaries issues when passing around
PairIndexObject. What we didn't realize at the time, that similar issues
could have been present in the geometries part too.

This was shown to break behavior of the FDBSCAN-DenseBox when called
with primitives assembled on the fly using AccessTraits. In that case,
the scene bounding box was completely wrong, resulting in random
asserts.
@aprokop aprokop added the bug Something isn't working label Mar 15, 2024
@aprokop aprokop requested a review from dalg24 March 15, 2024 16:12
@aprokop aprokop mentioned this pull request Mar 15, 2024
@aprokop aprokop merged commit 817bdf8 into arborx:master Apr 1, 2024
1 of 2 checks passed
@aprokop aprokop deleted the indexable_getter_fix branch April 1, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants