1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Fixed several issues detected by static analysis

This commit is contained in:
Maksim Shabunin
2018-02-22 13:20:35 +03:00
parent fbb2cabe77
commit 92e9d4ec3a
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ protected:
double varTmp;
int index;
public:
SimulatedAnnealingANN_MLP(ml::ANN_MLP& x, const Ptr<ml::TrainData>& d) : nn(x), data(d)
SimulatedAnnealingANN_MLP(ml::ANN_MLP& x, const Ptr<ml::TrainData>& d) : nn(x), data(d), varTmp(0.0), index(0)
{
initVarMap();
}