-
Notifications
You must be signed in to change notification settings - Fork 214
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
Check that the gain map max is >= gain map min. #2580
Conversation
Maryla: I am really sorry. I remember I reviewed this pull request but somehow got distracted and forgot to come back. I will review it tomorrow. |
No worries, I completely forgot about this PR as well... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
[max_n, max_d](int32_t min_n) { | ||
// For simplicity, use the same denominator for both fractions. | ||
// This does not cover all possible fractions but makes it easy | ||
// to guarantee that the first fraction is smaller. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Add "than or equal to the second one", or change "smaller" to "not bigger".
Fixes #2573