Skip to content
Snippets Groups Projects
Commit e525e260 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

WRG: remaining warning

parent 7749504d
Branches
Tags
No related merge requests found
......@@ -61,7 +61,9 @@ SEMClassifier<TInputImage, TOutputImage>
{
Superclass::PrintSelf(os, indent);
for (int componentIndex = 0; componentIndex < this->GetNumberOfClasses(); ++componentIndex)
const unsigned int nbClasses = this->GetNumberOfClasses();
for (unsigned int componentIndex = 0; componentIndex < nbClasses; ++componentIndex)
{
os << indent << "Component num " << componentIndex;
os << " (prop " << m_Proportions[componentIndex] << ") ";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment