FREAK: add missing field initialization
authorRoman Donchenko <roman.donchenko@itseez.com>
Wed, 22 Jul 2015 11:06:39 +0000 (14:06 +0300)
committerRoman Donchenko <roman.donchenko@itseez.com>
Wed, 22 Jul 2015 11:06:39 +0000 (14:06 +0300)
modules/features2d/src/freak.cpp

index 04673ea..2217c4b 100644 (file)
@@ -656,7 +656,8 @@ void FREAKImpl::drawPattern()
 FREAK::FREAK( bool _orientationNormalized, bool _scaleNormalized
             , float _patternScale, int _nOctaves, const std::vector<int>& _selectedPairs )
     : orientationNormalized(_orientationNormalized), scaleNormalized(_scaleNormalized),
-    patternScale(_patternScale), nOctaves(_nOctaves), extAll(false), nOctaves0(0), selectedPairs0(_selectedPairs)
+      patternScale(_patternScale), nOctaves(_nOctaves), extAll(false),
+      patternScale0(0.0), nOctaves0(0), selectedPairs0(_selectedPairs)
 {
 }