summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/tests/benchmark_vco.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/tests/benchmark_vco.cc')
-rw-r--r--gnuradio-core/src/tests/benchmark_vco.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/tests/benchmark_vco.cc b/gnuradio-core/src/tests/benchmark_vco.cc
index ed0ae3b67..3a6ade78c 100644
--- a/gnuradio-core/src/tests/benchmark_vco.cc
+++ b/gnuradio-core/src/tests/benchmark_vco.cc
@@ -63,7 +63,7 @@ benchmark (void test (float *x, const float *y), const char *implementation_name
// touch memory
memset(output, 0, BLOCK_SIZE*sizeof(float));
for (int i = 0; i<BLOCK_SIZE; i++)
- input[i] = sin(i);
+ input[i] = sin(double(i));
// get starting CPU usage
#ifdef HAVE_SYS_RESOURCE_H