Commit 13200b92 authored by Antoine Regimbeau's avatar Antoine Regimbeau

Merge branch 'quickfix_mellin_fftw' into 'develop'

BUG : clean fftw threads only if fftw is used

See merge request !313
parents 33f5066a 2cbffcb6
......@@ -90,6 +90,8 @@ int otbFourierMellinImageFilter(int itkNotUsed(argc), char* argv[])
imaginaryWriter->SetInput(imaginaryRescaler->GetOutput());
imaginaryWriter->Update();
// Hugly hack for cleaning fftw threads
#if defined( ITK_USE_FFTWF ) || defined( ITK_USE_FFTWD )
fftw_cleanup_threads();
#endif
return EXIT_SUCCESS;
}
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