From 5fa386ddc96fc13146e528ea4d3d92ec9552c49e Mon Sep 17 00:00:00 2001 From: paboyle Date: Thu, 24 Aug 2017 10:17:52 +0100 Subject: [PATCH] FFT test compile fixed --- lib/qcd/utils/GaugeFix.h | 3 +++ tests/core/Test_fft_gfix.cc | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/lib/qcd/utils/GaugeFix.h b/lib/qcd/utils/GaugeFix.h index f2ea1aa2..c4ea31aa 100644 --- a/lib/qcd/utils/GaugeFix.h +++ b/lib/qcd/utils/GaugeFix.h @@ -26,6 +26,8 @@ Author: Peter Boyle /* END LEGAL */ //#include +#ifndef GRID_QCD_GAUGE_FIX_H +#define GRID_QCD_GAUGE_FIX_H namespace Grid { namespace QCD { @@ -188,3 +190,4 @@ class FourierAcceleratedGaugeFixer : public Gimpl { } } +#endif diff --git a/tests/core/Test_fft_gfix.cc b/tests/core/Test_fft_gfix.cc index 9732eb85..916c4b0b 100644 --- a/tests/core/Test_fft_gfix.cc +++ b/tests/core/Test_fft_gfix.cc @@ -28,6 +28,9 @@ Author: Peter Boyle /* END LEGAL */ #include +using namespace Grid; +using namespace Grid::QCD; + int main (int argc, char ** argv) { std::vector seeds({1,2,3,4}); @@ -82,6 +85,7 @@ int main (int argc, char ** argv) Uorg = Uorg - Umu; std::cout << " Norm Difference "<< norm2(Uorg) << std::endl; + std::cout << " Norm "<< norm2(Umu) << std::endl; std::cout<< "*****************************************************************" <