From 4b6c844ef71fe5a458b914145c29b59c85613fc6 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Wed, 13 Mar 2024 13:30:08 +0100
Subject: [PATCH] rename Sample/Correlations/IDistribution1DSampler.h ->
 Sample/Correlation

---
 Sample/Correlation/IDistribution1DSampler.cpp             | 2 +-
 .../IDistribution1DSampler.h                              | 8 ++++----
 Sample/Correlations/Profiles1D.h                          | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
 rename Sample/{Correlations => Correlation}/IDistribution1DSampler.h (89%)

diff --git a/Sample/Correlation/IDistribution1DSampler.cpp b/Sample/Correlation/IDistribution1DSampler.cpp
index 172e075d574..272b2e7b1fa 100644
--- a/Sample/Correlation/IDistribution1DSampler.cpp
+++ b/Sample/Correlation/IDistribution1DSampler.cpp
@@ -12,7 +12,7 @@
 //
 //  ************************************************************************************************
 
-#include "Sample/Correlations/IDistribution1DSampler.h"
+#include "Sample/Correlation/IDistribution1DSampler.h"
 #include <numbers>
 #include <random>
 
diff --git a/Sample/Correlations/IDistribution1DSampler.h b/Sample/Correlation/IDistribution1DSampler.h
similarity index 89%
rename from Sample/Correlations/IDistribution1DSampler.h
rename to Sample/Correlation/IDistribution1DSampler.h
index 4a6232bafea..caf185b8704 100644
--- a/Sample/Correlations/IDistribution1DSampler.h
+++ b/Sample/Correlation/IDistribution1DSampler.h
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      Sample/Correlations/IDistribution1DSampler.h
+//! @file      Sample/Correlation/IDistribution1DSampler.h
 //! @brief     Defines class interface IProfile1D, and children thereof.
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -15,8 +15,8 @@
 #ifdef SWIG
 #error no need to expose this header to Swig
 #endif // SWIG
-#ifndef BORNAGAIN_SAMPLE_CORRELATIONS_IDISTRIBUTION1DSAMPLER_H
-#define BORNAGAIN_SAMPLE_CORRELATIONS_IDISTRIBUTION1DSAMPLER_H
+#ifndef BORNAGAIN_SAMPLE_CORRELATION_IDISTRIBUTION1DSAMPLER_H
+#define BORNAGAIN_SAMPLE_CORRELATION_IDISTRIBUTION1DSAMPLER_H
 
 class IDistribution1DSampler {
 public:
@@ -88,4 +88,4 @@ private:
     double m_omega;
 };
 
-#endif // BORNAGAIN_SAMPLE_CORRELATIONS_IDISTRIBUTION1DSAMPLER_H
+#endif // BORNAGAIN_SAMPLE_CORRELATION_IDISTRIBUTION1DSAMPLER_H
diff --git a/Sample/Correlations/Profiles1D.h b/Sample/Correlations/Profiles1D.h
index 8bac253daaa..10d26504a46 100644
--- a/Sample/Correlations/Profiles1D.h
+++ b/Sample/Correlations/Profiles1D.h
@@ -19,7 +19,7 @@
 #include "Param/Node/INode.h"
 
 #ifndef SWIG
-#include "Sample/Correlations/IDistribution1DSampler.h"
+#include "Sample/Correlation/IDistribution1DSampler.h"
 #endif // SWIG
 
 
-- 
GitLab