Skip to content
Snippets Groups Projects
Commit 0a334096 authored by Céline  TREBEAU's avatar Céline TREBEAU
Browse files

Bug fix : wrong printed values

parent d20015e8
No related branches found
No related tags found
1 merge request!41Resolve "Consider rescaling (binning) large images"
...@@ -55,14 +55,12 @@ public class ClassificationParameters ...@@ -55,14 +55,12 @@ public class ClassificationParameters
{ {
if ( value < 0 ) if ( value < 0 )
{ {
throw new DataValidationException( "The value of parameter " + name + " has to be superior to zero !" ); throw new DataValidationException( "The value of parameter " + name + " has to be superior or equal to zero !" );
} }
if ( value > 255 ) if ( value > 255 )
{ {
throw new DataValidationException( "The value of parameter " + name + " has to be inferior or equals to 50!" ); throw new DataValidationException( "The value of parameter " + name + " has to be inferior or equals to 255!" );
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment