Skip to content

Commit

Permalink
FIX: Disable multithreading.
Browse files Browse the repository at this point in the history
It wasn't used anyway, but this should make the filter better-behaved.

Not sure how to disable/remove the MultiThreader object; setting it null is not valid.
  • Loading branch information
allemangD committed Sep 6, 2024
1 parent a1f1387 commit 145195d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/itkHalideDiscreteGaussianImageFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ namespace itk

template <typename TInputImage, typename TOutputImage>
HalideDiscreteGaussianImageFilter<TInputImage, TOutputImage>::HalideDiscreteGaussianImageFilter()
{}
{
this->DynamicMultiThreadingOff();
this->ThreaderUpdateProgressOff();
}


template <typename TInputImage, typename TOutputImage>
Expand Down

0 comments on commit 145195d

Please sign in to comment.