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: automatic range computation in transfer functions for float32 datasets no longer fails for one point #596

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

seankmartin
Copy link
Contributor

Previously, the auto range could get computed as [point_x_value, 1] where point_x_value > 1 with only one point, which would cause incorrect transfer function calculations. This could only happen for float32 datasets. This is to correct for this, by setting the range to [point_x_value, point_x_value + 1] for single point transfer functions and float32 data.

@seankmartin seankmartin marked this pull request as ready for review June 3, 2024 15:04
@jbms jbms merged commit 6a39a63 into google:master Jun 11, 2024
13 of 19 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.

2 participants