mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Merge pull request #8249 from vskarlsruhe:patch-1
This commit is contained in:
commit
78784040aa
@ -27,7 +27,7 @@ int main( void )
|
||||
std::cin>>input;
|
||||
|
||||
// We use the alpha provided by the user if it is between 0 and 1
|
||||
if( alpha >= 0 && alpha <= 1 )
|
||||
if( input >= 0 && input <= 1 )
|
||||
{ alpha = input; }
|
||||
|
||||
//![load]
|
||||
|
Loading…
Reference in New Issue
Block a user