FREAK: add missing field initialization

This commit is contained in:
Roman Donchenko 2015-07-22 14:06:39 +03:00
parent 67158b12cd
commit 72ddeea479

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