fix FFT test when OPAL and/or Musr modules are not compiled
This commit is contained in:
@ -4,8 +4,6 @@
|
||||
|
||||
#include "Utility/TimeStamp.h"
|
||||
#include "DKSFFT.h"
|
||||
#include "DKSOPAL.h"
|
||||
#include "DKSBaseMuSR.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@ -49,7 +47,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
/* init DKSBase */
|
||||
cout << "Init device and set function" << endl;
|
||||
DKSBaseMuSR base;
|
||||
DKSFFT base;
|
||||
base.setAPI(api_name, strlen(api_name));
|
||||
base.setDevice(device_name, strlen(device_name));
|
||||
cout << "init device" << endl;
|
||||
|
Reference in New Issue
Block a user