Commit 3f86e7b7 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3668 from mshabunin:fix-ann-memory-access

parents 7854ef38 c85197da
......@@ -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);
}
......
......@@ -398,5 +398,5 @@ int main()
}
}
return 1;
return 0;
}
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