Description: Change the output range to stabelize test
 The test uses an RescaleIntensity filter to binarize an
 image, but this filter is numerically unstable for this
 operation. 
Author: Gert Wollny <gw.fossdev@gmail.com>
Forwarded: https://issues.itk.org/jira/browse/ITK-3413
Bug: https://bugs.debian.org/814591
Last-Update: 2016-07-09

--- a/Modules/Filtering/MathematicalMorphology/test/itkFlatStructuringElementTest2.cxx
+++ b/Modules/Filtering/MathematicalMorphology/test/itkFlatStructuringElementTest2.cxx
@@ -110,7 +110,7 @@
   RescaleType::Pointer rescale = RescaleType::New();
   rescale->SetInput( testImg );
   rescale->SetOutputMinimum( itk::NumericTraits< bool >::ZeroValue()  );
-  rescale->SetOutputMaximum( itk::NumericTraits< bool >::OneValue() );
+  rescale->SetOutputMaximum( itk::NumericTraits< bool >::OneValue() + 1 );
 
   typedef itk::CastImageFilter<ImageUCType, ImageBoolType> castFilterType;
   castFilterType::Pointer cast = castFilterType::New();
