fix perf tests

This commit is contained in:
Alexander Alekhin 2015-09-22 15:02:43 +03:00
parent 21e38f2949
commit 12f01b778b

View File

@ -914,7 +914,7 @@ void TestBase::Init(const std::vector<std::string> & availableImpls,
if (!args.check())
{
args.printErrors();
exit();
exit(1);
}
timeLimitDefault = param_time_limit == 0.0 ? 1 : (int64)(param_time_limit * cv::getTickFrequency());