Remove omp_get_max_threads in objective. (#7589)
This commit is contained in:
@@ -27,7 +27,7 @@ ObjFunction* ObjFunction::Create(const std::string& name, GenericParameter const
|
||||
<< ss.str();
|
||||
}
|
||||
auto pobj = (e->body)();
|
||||
pobj->tparam_ = tparam;
|
||||
pobj->ctx_ = tparam;
|
||||
return pobj;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user