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<< "*****************************************************************" <