Commit 6fa49f6e authored by Alexander Alekhin's avatar Alexander Alekhin

fix unintialized fields

parent f91f5592
...@@ -598,6 +598,7 @@ namespace cv ...@@ -598,6 +598,7 @@ namespace cv
struct dim3 struct dim3
{ {
unsigned int x, y, z; unsigned int x, y, z;
dim3() : x(0), y(0), z(0) { }
}; };
public: public:
PyrLKOpticalFlow() PyrLKOpticalFlow()
...@@ -607,6 +608,8 @@ namespace cv ...@@ -607,6 +608,8 @@ namespace cv
iters = 30; iters = 30;
derivLambda = 0.5; derivLambda = 0.5;
useInitialFlow = false; useInitialFlow = false;
waveSize = 0;
} }
bool checkParam() bool checkParam()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment