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

Fixed allocated vector size in ML ANN algorithm

- updated return value of points_classifier sample
This commit is contained in:
Maksim Shabunin
2015-02-03 18:11:25 +03:00
parent 4c52dfc956
commit c85197da55
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -731,7 +731,7 @@ public:
for( i = 0; i < l_count; i++ )
{
int n = layer_sizes[i];
x[i].resize(n);
x[i].resize(n+1);
df[i].resize(n);
dw[i].create(weights[i].size(), CV_64F);
}