diff options
author | Tom Rondeau | 2011-01-22 15:23:51 -0500 |
---|---|---|
committer | Tom Rondeau | 2011-01-22 15:23:51 -0500 |
commit | f54dde22e71bf393ad4519d099384af38d43ee72 (patch) | |
tree | a38eed0332586e457ce4b7c8f586fa9ce74b6d3e /gnuradio-core/src/lib/runtime | |
parent | 85759ff0f893b9377b156609d68c6453feb304c9 (diff) | |
parent | 48f9ca90e0cbcbfe67b0e10889c60928d9be5c49 (diff) | |
download | gnuradio-f54dde22e71bf393ad4519d099384af38d43ee72.tar.gz gnuradio-f54dde22e71bf393ad4519d099384af38d43ee72.tar.bz2 gnuradio-f54dde22e71bf393ad4519d099384af38d43ee72.zip |
Merge branch 'mergeme/math/gr_math_simplification' into next
Diffstat (limited to 'gnuradio-core/src/lib/runtime')
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_buffer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_buffer.cc b/gnuradio-core/src/lib/runtime/gr_buffer.cc index 03d5a8738..fa3722714 100644 --- a/gnuradio-core/src/lib/runtime/gr_buffer.cc +++ b/gnuradio-core/src/lib/runtime/gr_buffer.cc @@ -31,6 +31,7 @@ #include <iostream> #include <assert.h> #include <algorithm> +#include <boost/math/common_factor_rt.hpp> static long s_buffer_count = 0; // counts for debugging storage mgmt static long s_buffer_reader_count = 0; @@ -73,7 +74,7 @@ static long s_buffer_reader_count = 0; static long minimum_buffer_items (long type_size, long page_size) { - return page_size / gr_gcd (type_size, page_size); + return page_size / boost::math::gcd (type_size, page_size); } |