kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
Log | Files | Refs | README

commit 0fccc01a05317f1532098b8089c163725989bdb7
parent 22431ba02992ecc8710993d6a73d3e65ae67c2ed
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date:   Wed,  4 Dec 2019 20:50:19 +0000

Make c_sin_table inline

Diffstat:
Minclude/kfr/dft/data/sincos.hpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/kfr/dft/data/sincos.hpp b/include/kfr/dft/data/sincos.hpp @@ -33,7 +33,7 @@ namespace data { template <typename T> -constexpr T c_sin_table[65] = { +constexpr inline T c_sin_table[65] = { /* sin(2*pi* 0/ 256) */ f32(0.0), /* sin(2*pi* 1/ 256) */ f32(0.02454122852291228803173452945928292506547), /* sin(2*pi* 2/ 256) */ f32(0.04906767432741801425495497694268265831475), @@ -103,7 +103,7 @@ constexpr T c_sin_table[65] = { // data generated by mpfr template <> -constexpr f64 c_sin_table<f64>[65] = { +constexpr inline f64 c_sin_table<f64>[65] = { /* sin(2*pi* 0/ 256) */ f64(0.0), /* sin(2*pi* 1/ 256) */ f64(0.02454122852291228803173452945928292506547), /* sin(2*pi* 2/ 256) */ f64(0.04906767432741801425495497694268265831475),