Commit 177a7313 authored by Etienne Bougoin's avatar Etienne Bougoin
Browse files

wrg add label initialization

parent c36b6060
......@@ -130,7 +130,7 @@ SVMPointSetModelEstimator<TInputPointSet, TTrainingPointSet>
unsigned int dataId = 0;
while (inIt!=inEnd && trIt!=trEnd)
{
typename TTrainingPointSet::PixelType label;
typename TTrainingPointSet::PixelType label = itk::NumericTraits<typename TTrainingPointSet::PixelType>::Zero;
trainingPointSet->GetPointData( dataId, & label );
otbMsgDevMacro( << " Label " << label );
......
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