Commit f3939d71 authored by Guillaume Pasero's avatar Guillaume Pasero

STYLE: code review

parent 79433374
Pipeline #3136 passed with stages
in 101 minutes and 53 seconds
......@@ -98,7 +98,7 @@ private:
/** Method returning whether the confidence map should be computed, depending on the regression mode and input parameters */
bool shouldComputeConfidenceMap() const;
/** Method returning the input list sample from the input layer */
/** Method returning the input list sample from the input DataSource */
typename ListSampleType::Pointer ReadInputListSample(ogr::DataSource::Pointer source);
/** Normalize a list sample using the statistic file given */
......
......@@ -78,7 +78,7 @@ typename VectorPrediction<RegressionMode>::ListSampleType::Pointer VectorPredict
auto layer = source->GetLayer(0);
typename ListSampleType::Pointer input = ListSampleType::New();
const unsigned int nbFeatures = GetSelectedItems("feat").size();
const auto nbFeatures = GetSelectedItems("feat").size();
input->SetMeasurementVectorSize(nbFeatures);
ogr::Feature feature = layer.ogr().GetNextFeature();
......
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