From 8d52e0a349ecd07f34a2d086bc23cfb9b0a3d1a3 Mon Sep 17 00:00:00 2001 From: paboyle Date: Sun, 14 Jan 2018 22:41:23 +0000 Subject: [PATCH] Namespace --- lib/qcd/action/scalar/Scalar.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/lib/qcd/action/scalar/Scalar.h b/lib/qcd/action/scalar/Scalar.h index 485a6765..ee52ea13 100644 --- a/lib/qcd/action/scalar/Scalar.h +++ b/lib/qcd/action/scalar/Scalar.h @@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc., See the full license in the file "LICENSE" in the top level distribution directory *************************************************************************************/ -/* END LEGAL */ + /* END LEGAL */ #ifndef GRID_QCD_SCALAR_H #define GRID_QCD_SCALAR_H @@ -33,18 +33,16 @@ directory #include #include -namespace Grid { -namespace QCD { +NAMESPACE_BEGIN(Grid); - typedef ScalarAction ScalarActionR; - typedef ScalarAction ScalarActionF; - typedef ScalarAction ScalarActionD; +typedef ScalarAction ScalarActionR; +typedef ScalarAction ScalarActionF; +typedef ScalarAction ScalarActionD; - template using ScalarAdjActionR = ScalarInteractionAction, Dimensions>; - template using ScalarAdjActionF = ScalarInteractionAction, Dimensions>; - template using ScalarAdjActionD = ScalarInteractionAction, Dimensions>; +template using ScalarAdjActionR = ScalarInteractionAction, Dimensions>; +template using ScalarAdjActionF = ScalarInteractionAction, Dimensions>; +template using ScalarAdjActionD = ScalarInteractionAction, Dimensions>; -} -} +NAMESPACE_END(Grid); #endif // GRID_QCD_SCALAR_H