mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Fixing some static analysis issues
This commit is contained in:
@@ -203,6 +203,7 @@ public:
|
||||
results = &_results;
|
||||
results_prob = !_results_prob.empty() ? &_results_prob : 0;
|
||||
rawOutput = _rawOutput;
|
||||
value = 0;
|
||||
}
|
||||
|
||||
const Mat* c;
|
||||
|
||||
@@ -81,6 +81,7 @@ public:
|
||||
params.use1SERule = false;
|
||||
params.truncatePrunedTree = false;
|
||||
params.priors = Mat();
|
||||
oobError = 0;
|
||||
}
|
||||
virtual ~DTreesImplForRTrees() {}
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ DTreesImpl::WorkData::WorkData(const Ptr<TrainData>& _data)
|
||||
maxSubsetSize = 0;
|
||||
}
|
||||
|
||||
DTreesImpl::DTreesImpl() {}
|
||||
DTreesImpl::DTreesImpl() : _isClassifier(false) {}
|
||||
DTreesImpl::~DTreesImpl() {}
|
||||
void DTreesImpl::clear()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user