Commit 3c9831ae authored by Jordi Inglada's avatar Jordi Inglada
Browse files

BUG: signed/unsigned mismatch

parent 385f69a1
......@@ -342,7 +342,7 @@ ImageClassificationFilter<TInputImage, TOutputImage, TMaskImage>
//The probas may have different size than the m_NumberOfClasses set by the user
auto tempProbaValues = probas->GetMeasurementVector(labIt.GetInstanceIdentifier());
for(auto i=0; i<m_NumberOfClasses; ++i)
for(unsigned int i=0; i<m_NumberOfClasses; ++i)
if(i<tempProbaValues.Size()) probaValues[i] = tempProbaValues[i];
else probaValues[i] = 0;
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