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 369b7e6913c3083c7e48351921f9948c77083d9a
parent 0cf7ff5296f127b1bc7c7e83b3022b1d2e48c229
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date:   Mon, 17 Oct 2016 07:07:14 +0300

random.hpp: use static const instead of constexpr

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

diff --git a/include/kfr/base/random.hpp b/include/kfr/base/random.hpp @@ -65,8 +65,8 @@ struct random_bit_generator inline random_state operator()() { - CMT_GNU_CONSTEXPR static random_state mul{ 214013u, 17405u, 214013u, 69069u }; - CMT_GNU_CONSTEXPR static random_state add{ 2531011u, 10395331u, 13737667u, 1u }; + const static random_state mul{ 214013u, 17405u, 214013u, 69069u }; + const static random_state add{ 2531011u, 10395331u, 13737667u, 1u }; state = bitcast<u32>(rotateright<3>(bitcast<u8>(fmadd(state, mul, add)))); return state; }