Skip to content

Commit

Permalink
Moved ffts.h inside APPLE_SILICON ifdef guard to prevent false test f…
Browse files Browse the repository at this point in the history
…ailures on macos
  • Loading branch information
azonenberg committed Aug 30, 2024
1 parent 1a70443 commit 6692451
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/Filters/Filter_DeEmbed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@
#include "../../lib/scopeprotocols/scopeprotocols.h"
#include "Filters.h"

#include <ffts.h>

//TODO: switch to FFTW since test case is OK to be GPL
#ifndef _APPLE_SILICON
#include <ffts.h>

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion tests/Filters/Filter_FFT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
#include "../../lib/scopehal/TestWaveformSource.h"
#include "../../lib/scopeprotocols/scopeprotocols.h"
#include "Filters.h"
#include <ffts.h>

//TODO: switch to FFTW since test case is OK to be GPL
#ifndef _APPLE_SILICON
#include <ffts.h>

using namespace std;

Expand Down

0 comments on commit 6692451

Please sign in to comment.