Commit cb0b2bd1 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #5965 from amroamroamro:fix_concentric_spheres

parents a1d7e38a 47cdb041
......@@ -104,7 +104,7 @@ void createConcentricSpheresTestSet( int num_samples, int num_features, int num_
max_dst = std::max( max_dst, dis[i].d );
for( ; i < num_samples && dis[i].d <= max_dst; ++i )
responses.at<int>(i) = cur_class;
responses.at<int>(dis[i].i) = cur_class;
}
}
......
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