mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-15 21:01:26 +00:00
tests: fix coverity reports
This commit is contained in:
parent
74c60887bd
commit
94a043ab5b
1 changed files with 1 additions and 1 deletions
|
|
@ -581,7 +581,7 @@ static void test_convert_types_f32(
|
|||
){
|
||||
//fill the input samples
|
||||
std::vector<float> input(nsamps), output(nsamps);
|
||||
BOOST_FOREACH(float &in, input) in = float((std::rand()/float(RAND_MAX/2)) - 1);
|
||||
BOOST_FOREACH(float &in, input) in = float((float(std::rand())/float(RAND_MAX/2)) - 1);
|
||||
|
||||
//run the loopback and test
|
||||
convert::id_type in_id = id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue