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

Rename matrix _min_v to _m_inv because it's the inverse of _m #41

Merged
merged 3 commits into from
Dec 9, 2022
Merged

Rename matrix _min_v to _m_inv because it's the inverse of _m #41

merged 3 commits into from
Dec 9, 2022

Conversation

planet36
Copy link
Contributor

@planet36 planet36 commented Dec 2, 2022

The _min_v matrix is the inverse of _m. Perhaps there was a typo when it was originally named.
This PR changes the name to _m_inv.

This also adds some comments to describe what the matrices and a couple of the constants are.

The matrix being renamed is the inverse of `_m`, so a more appropriate
name is `_m_inv`.
@hartwork hartwork requested a review from boronine December 2, 2022 02:59
Copy link
Member

@boronine boronine left a comment

Choose a reason for hiding this comment

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

Nice catch!

@planet36
Copy link
Contributor Author

planet36 commented Dec 9, 2022

@hartwork, Need me to make any changes to this?

@hartwork
Copy link
Member

hartwork commented Dec 9, 2022

@planet36 I don't have the background to do a proper review here myself but I'll take @boronine's approval and merge.

@hartwork hartwork merged commit 03aaa12 into hsluv:master Dec 9, 2022
@planet36 planet36 deleted the rename-matrix branch December 10, 2022 00:32
@hartwork hartwork changed the title Rename matrix _min_v to _m_inv because it's the inverse of _m Rename matrix _min_v to _m_inv because it's the inverse of _m Feb 9, 2024
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.

3 participants