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

absolute vs. relative scales bug fix in _dim_scale_factors #41

Merged
merged 1 commit into from
Jul 15, 2023

Conversation

GFleishman
Copy link

This fixes #40.

Commit history implies you were aware of this issue before, so make sure I didn't misunderstand anything:
7796b71

I renamed previous_dim_factors to previous_absolute_dim_factors, since we need these numbers to be relative to the full resolution data, not relative to the previous scale level as before. Name change is good since previous_absolute_dim_factors is no longer equal to the previous iteration dim_factors.

This fixes my test case:
Screen Shot 2023-07-12 at 5 12 19 PM

Copy link
Owner

@thewtex thewtex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GFleishman good find! LGTM. Thank you!

@thewtex thewtex merged commit 0a2113c into thewtex:main Jul 15, 2023
15 checks passed
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.

Multiscales bug
2 participants