From 0fccc01a05317f1532098b8089c163725989bdb7 Mon Sep 17 00:00:00 2001 From: "d.levin256@gmail.com" Date: Wed, 4 Dec 2019 20:50:46 +0000 Subject: [PATCH] Make c_sin_table inline --- include/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 index 9ea6ac52..7a7a72bb 100644 --- a/include/kfr/dft/data/sincos.hpp +++ b/include/kfr/dft/data/sincos.hpp @@ -33,7 +33,7 @@ namespace data { template -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[65] = { +constexpr inline f64 c_sin_table[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),