Skip to content
Snippets Groups Projects
Commit aceeb2aa authored by Victor Poughon's avatar Victor Poughon
Browse files

BUG: fix check if unsigned is negative

parent 5416b513
No related branches found
No related tags found
No related merge requests found
......@@ -243,11 +243,6 @@ void
MarkovRandomFieldFilter<TInputImage, TClassifiedImage>
::Allocate()
{
if (m_NumberOfClasses <= 0)
{
throw itk::ExceptionObject(__FILE__, __LINE__, "NumberOfClasses <= 0.", ITK_LOCATION);
}
//Set the output labelled and allocate the memory
LabelledImagePointer outputPtr = this->GetOutput();
......
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