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

Path successor result wrong when a component needs to be popped. #55

Open
sgwilym opened this issue Sep 13, 2024 · 0 comments
Open

Path successor result wrong when a component needs to be popped. #55

sgwilym opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sgwilym
Copy link
Contributor

sgwilym commented Sep 13, 2024

I think this may have happened when Paths were refactored to use HeapEncoding.

Given the following path:

 PathRc([PathComponentBox([8]), PathComponentBox([0, 255]), PathComponentBox([])])

the successor is computed to be:

PathRc([PathComponentBox([8]), PathComponentBox([1, 0])])

This is wrong. The successor should be:

 PathRc([PathComponentBox([8]), PathComponentBox([1])])

The culprit is somewhere in this block.

@sgwilym sgwilym added the bug Something isn't working label Sep 13, 2024
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

No branches or pull requests

1 participant