Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template<typename LayerType, typename TTargetVector>
- QuickPropLearningRule <LayerType,TTargetVector>
- ::QuickPropLearningRule()
- {
- m_Momentum = 0.9; //Default
- m_Max_Growth_Factor = 1.75;
- m_Decay = -0.0001;
- m_SplitEpsilon = 1;
- m_Epsilon = 0.55;
- m_Threshold = 0.0;
- m_SigmoidPrimeOffset = 0;
- m_SplitEpsilon = 0;
- }
- This suspicious code was found in ITK project by PVS-Studio static code analyzer.
- Warning message is:
- V519 The 'm_SplitEpsilon' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 35, 39. itkquickproplearningrule.hxx 39
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment