fix for Bug #3085:
authorVladislav Vinogradov <vlad.vinogradov@itseez.com>
Thu, 13 Jun 2013 06:22:56 +0000 (10:22 +0400)
committerVladislav Vinogradov <vlad.vinogradov@itseez.com>
Thu, 13 Jun 2013 06:22:56 +0000 (10:22 +0400)
commite433145b7e15f7ff8056d109fe17de3bf423e916
tree2199f273ae43d802f2241745dcfea2658617661e
parent98f6a4a615e3542d7b2f757c089036ebc3ff3eed
fix for Bug #3085:

weights array is only allocated for (l_count+1) elements,
but then weights[l_count+1] element is accessed.
modules/ml/src/ann_mlp.cpp