Skip to content

Commit

Permalink
ViewerInstance: fix copy-paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Jun 4, 2021
1 parent 8b6f1c9 commit 022ac52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/ViewerInstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2098,7 +2098,7 @@ findAutoContrastVminVmax_generic(const ImagePtr inputImage,
maxi = std::max(std::max(r, g), b);
break;
case eDisplayChannelsY:
mini = r = 0.299 * r + 0.587 * g + 0.114 * b;
mini = 0.299 * r + 0.587 * g + 0.114 * b;
maxi = mini;
break;
case eDisplayChannelsR:
Expand Down

0 comments on commit 022ac52

Please sign in to comment.