aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/src/FFT/ei_kissfft_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/Eigen/src/FFT/ei_kissfft_impl.h')
-rw-r--r--unsupported/Eigen/src/FFT/ei_kissfft_impl.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/unsupported/Eigen/src/FFT/ei_kissfft_impl.h b/unsupported/Eigen/src/FFT/ei_kissfft_impl.h
index 5db1bf37d..667638f40 100644
--- a/unsupported/Eigen/src/FFT/ei_kissfft_impl.h
+++ b/unsupported/Eigen/src/FFT/ei_kissfft_impl.h
@@ -22,13 +22,13 @@
// License and a copy of the GNU General Public License along with
// Eigen. If not, see <http://www.gnu.org/licenses/>.
-
+namespace internal {
// This FFT implementation was derived from kissfft http:sourceforge.net/projects/kissfft
// Copyright 2003-2009 Mark Borgerding
template <typename _Scalar>
-struct ei_kiss_cpx_fft
+struct kiss_cpx_fft
{
typedef _Scalar Scalar;
typedef std::complex<Scalar> Complex;
@@ -274,7 +274,7 @@ struct ei_kiss_cpx_fft
};
template <typename _Scalar>
-struct ei_kissfft_impl
+struct kissfft_impl
{
typedef _Scalar Scalar;
typedef std::complex<Scalar> Complex;
@@ -378,7 +378,7 @@ struct ei_kissfft_impl
}
protected:
- typedef ei_kiss_cpx_fft<Scalar> PlanData;
+ typedef kiss_cpx_fft<Scalar> PlanData;
typedef std::map<int,PlanData> PlanMap;
PlanMap m_plans;
@@ -416,5 +416,7 @@ struct ei_kissfft_impl
}
};
+} // end namespace internal
+
/* vim: set filetype=cpp et sw=2 ts=2 ai: */