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

Bug in PlanarImg accessors #304

Open
tpietzsch opened this issue Mar 22, 2021 · 0 comments
Open

Bug in PlanarImg accessors #304

tpietzsch opened this issue Mar 22, 2021 · 0 comments

Comments

@tpietzsch
Copy link
Member

There is most likely a few bugs in PlanarImg accessors.

For example:
PlanarCursor has a protected int index field that is used and modified in jumpFwd() and fwd() among others.
PlanarCursor2D extends PlanarCursor and overrides fwd() such that it does not touch index. So, in subsequent jumpFwd() it would be out-of-sync with the Type's index.

There is a few other instances of similar problems in the net.imglib2.img.planar. I didn't thoroughly investigate, write tests, etc. But something is clearly wrong.

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

No branches or pull requests

1 participant