From 597b93798a804cde1783d6d2ab53b348d57c44cd Mon Sep 17 00:00:00 2001 From: Tom Rondeau <tom@trondeau.com> Date: Mon, 7 Jul 2014 12:18:00 -0400 Subject: Removing trailing/extra whitespaces before release. We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace). --- gr-blocks/lib/message_strobe_random_impl.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gr-blocks/lib/message_strobe_random_impl.cc') diff --git a/gr-blocks/lib/message_strobe_random_impl.cc b/gr-blocks/lib/message_strobe_random_impl.cc index 3d15574ba0..80819fc2fc 100644 --- a/gr-blocks/lib/message_strobe_random_impl.cc +++ b/gr-blocks/lib/message_strobe_random_impl.cc @@ -58,7 +58,7 @@ namespace gr { { // allocate RNGs update_dist(); - + // set up ports message_port_register_out(pmt::mp("strobe")); d_thread = boost::shared_ptr<boost::thread> @@ -87,7 +87,7 @@ namespace gr { boost::poisson_distribution<> pd(d_mean_ms); d_variate_poisson = boost::shared_ptr< boost::variate_generator<boost::mt19937, boost::poisson_distribution<> > > ( new boost::variate_generator <boost::mt19937, boost::poisson_distribution<> >(d_rng,pd) ); - + boost::normal_distribution<> nd(d_mean_ms, d_std_ms); d_variate_normal = boost::shared_ptr< boost::variate_generator<boost::mt19937, boost::normal_distribution<> > > ( new boost::variate_generator <boost::mt19937, boost::normal_distribution<> >(d_rng,nd) ); @@ -108,7 +108,7 @@ namespace gr { void message_strobe_random_impl::run() { while(!d_finished) { - boost::this_thread::sleep(boost::posix_time::milliseconds(std::max(0.0f,next_delay()))); + boost::this_thread::sleep(boost::posix_time::milliseconds(std::max(0.0f,next_delay()))); if(d_finished) { return; } -- cgit v1.2.3