SuperElastix / elastix

Official elastix repository
http://elastix.dev
Apache License 2.0
449 stars 110 forks source link

Remove old "itkPCAMetric" files, rename "itkPCAMetric_F_multithreaded" files to "itkPCAMetric" #1153

Open N-Dekker opened 2 weeks ago

N-Dekker commented 2 weeks ago

The old "itkPCAMetric.h" and "itkPCAMetric.hxx" files were not being used anymore. They were not even #include'd anywhere. Moreover, they cannot even be used anymore, because they would then conflict with "itkPCAMetric_F_multithreaded.h" and "itkPCAMetric_F_multithreaded.hxx", which define a class template with exactly the same name! Using both "itkPCAMetric_F_multithreaded" and "itkPCAMetric" would probably cause link errors, or otherwise maybe undefined behavior.

@mstaring @stefanklein Do you agree that the old "itkPCAMetric.h" and "itkPCAMetric.hxx" files may be removed? And that we can then rename those "itkPCAMetric_F_multithreaded" files to "itkPCAMetric"?