From e1e3ed670ae4a2f8a4157977631ae8eed88f55b8 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 16 Jul 2010 17:13:09 -0700 Subject: uhd: fix unit test to compile over here --- host/test/tune_helper_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/test') diff --git a/host/test/tune_helper_test.cpp b/host/test/tune_helper_test.cpp index 3df1f2471..570f47293 100644 --- a/host/test/tune_helper_test.cpp +++ b/host/test/tune_helper_test.cpp @@ -166,7 +166,7 @@ BOOST_AUTO_TEST_CASE(test_tune_helper_rx_nyquist){ std::cout << "Testing tune helper RX dummy basic board" << std::endl; tune_result_t tr = tune_rx_subdev_and_dsp(subdev.get_link(), dsp.get_link(), 55e6); std::cout << tr.to_pp_string() << std::endl; - BOOST_CHECK_CLOSE(tr.actual_inter_freq, 0, tolerance); + BOOST_CHECK_CLOSE(tr.actual_inter_freq, 0.0, tolerance); BOOST_CHECK_CLOSE(tr.actual_dsp_freq, 45e6, tolerance); double freq_derived = derive_freq_from_rx_subdev_and_dsp(subdev.get_link(), dsp.get_link()); -- cgit v1.2.3