We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2570a5a + 56cedfc commit 7878404Copy full SHA for 7878404
samples/cpp/tutorial_code/core/AddingImages/AddingImages.cpp
@@ -27,7 +27,7 @@ int main( void )
27
std::cin>>input;
28
29
// We use the alpha provided by the user if it is between 0 and 1
30
- if( alpha >= 0 && alpha <= 1 )
+ if( input >= 0 && input <= 1 )
31
{ alpha = input; }
32
33
//![load]
0 commit comments