Merge pull request #3909 from Nuzhny007:master

This commit is contained in:
Vadim Pisarevsky 2015-04-21 14:02:59 +00:00
commit a69b435c92

View File

@ -1793,7 +1793,7 @@ public:
if( !do_train( temp_train_samples, temp_train_responses ))
continue;
for( i = 0; i < test_sample_count; i++ )
for( i = 0; i < train_sample_count; i++ )
{
j = sidx[(i+start+train_sample_count) % sample_count];
memcpy(temp_train_samples.ptr(i), samples.ptr(j), sample_size);