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

typo fixed: check packed_info rather than chunk_cnts #292

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

Conversation

countywest
Copy link

There is no member named chunk_cnts in the class RaySamples.
We should check self.packed_info is not None as we check it for assigning values to spec.chunk_starts.

Before this fix, we cannot use the nerfacc.searchsorted using RaySamples with the following error message.
AttributeError: 'RaySamples' object has no attribute 'chunk_cnts'
After this fix, nerfacc.searchsorted works fine.

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