Skip to content
Snippets Groups Projects
Commit 89132c62 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: fix using correct size (2)

parent 531658e6
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,8 @@ SEMClassifier<TInputImage, TOutputImage>
while (iterLabels != labels->End());
m_ExternalLabels = 1;
}
else if (labels.size() == m_NbSamples)
else if (m_ClassLabels.size() == m_NbSamples) //FIXME check if this
//is really the right condition
{
m_ClassLabels.resize(labels->Size());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment