提交 423837dd 编写于 作者: A Andrey Kamaev

Restore theRNG seed reset on test SetUp as it is still needed

上级 0e314163
......@@ -1012,6 +1012,8 @@ void TestBase::reportMetrics(bool toJUnitXML)
void TestBase::SetUp()
{
cv::theRNG().state = param_seed; // this rng should generate same numbers for each run
#ifdef HAVE_TBB
if (param_tbb_nthreads > 0) {
p_tbb_initializer.release();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册