Commit aceeb2aa authored by Victor Poughon's avatar Victor Poughon

BUG: fix check if unsigned is negative

parent 5416b513
......@@ -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();
......
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