Skip to content
Snippets Groups Projects
Commit 4ece881c authored by Julien Malik's avatar Julien Malik
Browse files

COMP: vnl_math_round generates assembler-error messages at compilation on MacOS X 10.6

parent 9fc6206e
Branches
Tags
No related merge requests found
......@@ -356,8 +356,8 @@ MarkovRandomFieldFilter<TInputImage, TClassifiedImage>
{
//Note: error should be defined according to the number of valid pixel in the output
int maxNumPixelError = (int) (vnl_math_rnd (m_ErrorTolerance *
m_TotalNumberOfPixelsInInputImage));
int maxNumPixelError = itk::Math::Round<int,double> (m_ErrorTolerance *
m_TotalNumberOfPixelsInInputImage);
m_NumberOfIterations = 0;
m_ErrorCounter = m_TotalNumberOfValidPixelsInOutputImage;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment