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 cmapconv.py parse_colormap #48

Open
jestock1 opened this issue Jun 6, 2024 · 0 comments
Open

bug in cmapconv.py parse_colormap #48

jestock1 opened this issue Jun 6, 2024 · 0 comments

Comments

@jestock1
Copy link

jestock1 commented Jun 6, 2024

There is a typo/oversight in the if statement that confirms the colormap data is valid. It does not affect the output, but I noticed it when looking at the code and wanted to point it out.

if ( c[0] < 0 or c[0] > 15 or c[0] < 0 or c[1] > 15 or

This should be revised as follows:

if ( c[0] < 0 or c[0] > 15 or c[1] < 0 or c[1] > 15 or

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