FREAK: add missing field initialization

pull/4219/head
Roman Donchenko 10 years ago
parent 67158b12cd
commit 72ddeea479
  1. 3
      modules/features2d/src/freak.cpp

@ -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)
{
}

Loading…
Cancel
Save