Skip to content

Commit

Permalink
Make c_sin_table inline
Browse files Browse the repository at this point in the history
  • Loading branch information
dancazarin committed Dec 4, 2019
1 parent 22431ba commit 0fccc01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/kfr/dft/data/sincos.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 0fccc01

Please sign in to comment.