Skip to content
Snippets Groups Projects
Commit e0fcbec9 authored by Federico Lolli's avatar Federico Lolli
Browse files

[FFT] fixed warnings to fft-benchmark

parent 36ab082f
No related branches found
No related tags found
1 merge request!224Draft: Sensor Fault Detection
......@@ -20,8 +20,6 @@
* THE SOFTWARE.
*/
#pragma once
#include <algorithms/FFT.h>
#include <drivers/timer/TimestampTimer.h>
#include <utils/Stats/Stats.h>
......@@ -50,9 +48,9 @@ int main()
Eigen::Vector<float, BUFFER> input_signal =
Eigen::Vector<float, BUFFER>::Zero();
for (int i = 0; i < TAKES; i++)
for (unsigned int i = 0; i < TAKES; i++)
{
for (size_t j = 0; j < input_signal.size(); j++)
for (size_t j = 0; j < (size_t)input_signal.size(); j++)
{
input_signal(j) = (float)rand() / RAND_MAX;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment