Skip to content

Commit

Permalink
BUG: Remove broken warning in itk::GaussianOperator
Browse files Browse the repository at this point in the history
Hotfix for failing Linux/macOS builds where itkDebugMacro is not
supported in `itk::GaussianOperator`.
  • Loading branch information
tbirdso committed May 17, 2022
1 parent c60f675 commit 0f39902
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Modules/Core/Common/include/itkGaussianOperator.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@ GaussianOperator<TPixel, VDimension, TAllocator>::GenerateCoefficients() -> Coef
{
break; // failsafe
}
/*
// TODO: See https://github.com/InsightSoftwareConsortium/ITK/issues/3430
if (coeff.size() > m_MaximumKernelWidth)
{
itkDebugMacro(<< "Kernel size has exceeded the specified maximum width of " << m_MaximumKernelWidth
<< " and has been truncated to " << coeff.size()
<< " elements. You can raise the maximum width using the SetMaximumKernelWidth method.");
break;
}
}*/
}
// Normalize the coefficients so that their sum is one.
for (it = coeff.begin(); it < coeff.end(); ++it)
Expand Down

0 comments on commit 0f39902

Please sign in to comment.