Commit bf427c01 authored by yao's avatar yao

adjust matchTemplate in performance sample, as current version is too slow when…

adjust matchTemplate in performance sample, as current version is too slow when template size isn't small
parent 6409a4b1
......@@ -707,7 +707,7 @@ TEST(matchTemplate)
for (size_t j = 0; j < sizeof(all_type) / sizeof(int); j++)
{
for(templ_size = 5; templ_size < 200; templ_size *= 5)
for(templ_size = 5; templ_size <=5; templ_size *= 5)
{
gen(src, size, size, all_type[j], 0, 1);
......
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