mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Removed unecessary initialisation of Mat centers.
This commit is contained in:
parent
601b7d1dd3
commit
bf4994554d
@ -36,7 +36,7 @@ int main( int /*argc*/, char** /*argv*/ )
|
||||
Mat points(sampleCount, 2, CV_32F), labels;
|
||||
|
||||
clusterCount = MIN(clusterCount, sampleCount);
|
||||
Mat centers(clusterCount, 1, points.type());
|
||||
Mat centers;
|
||||
|
||||
/* generate random sample from multigaussian distribution */
|
||||
for( k = 0; k < clusterCount; k++ )
|
||||
|
Loading…
Reference in New Issue
Block a user