diff options
author | Andrej Rode <mail@andrejro.de> | 2018-02-17 14:02:04 +0100 |
---|---|---|
committer | Andrej Rode <mail@andrejro.de> | 2018-02-17 14:02:04 +0100 |
commit | 201031790ec8c855ec2eaf7883652ad37b164208 (patch) | |
tree | 5989b94e7dddb1499d6a8ee366c72f5c449df7df /gnuradio-runtime/lib/math | |
parent | 3165aaf55a83dad81af0d61e3189d90a16cccc95 (diff) |
fixup! fec: convert viterbi sub-library to valid C++ in correct namespace
Diffstat (limited to 'gnuradio-runtime/lib/math')
-rw-r--r-- | gnuradio-runtime/lib/math/random.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/math/random.cc b/gnuradio-runtime/lib/math/random.cc index 401ba89735..5ebe174914 100644 --- a/gnuradio-runtime/lib/math/random.cc +++ b/gnuradio-runtime/lib/math/random.cc @@ -151,7 +151,7 @@ namespace gr { float random::impulse(float factor = 5) { - float z = -M_SQRT2 * logf(ran1()); + float z = -GR_M_SQRT2 * logf(ran1()); if(fabsf(z) <= factor) return 0.0; else |