1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-27 22:25:56 +01:00

Namespace and indentation emacs choices

This commit is contained in:
paboyle 2018-01-15 00:05:55 +00:00
parent 8c675064bd
commit 2d13ea1a22

View File

@ -27,7 +27,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 See the full license in the file "LICENSE" in the top level distribution
directory directory
*************************************************************************************/ *************************************************************************************/
/* END LEGAL */ /* END LEGAL */
#ifndef GRID_LATTICE_ET_H #ifndef GRID_LATTICE_ET_H
#define GRID_LATTICE_ET_H #define GRID_LATTICE_ET_H
@ -36,7 +36,7 @@ directory
#include <typeinfo> #include <typeinfo>
#include <vector> #include <vector>
namespace Grid { NAMESPACE_BEGIN(Grid);
//////////////////////////////////////////////////// ////////////////////////////////////////////////////
// Predicated where support // Predicated where support
@ -433,12 +433,12 @@ auto closure(const LatticeTrinaryExpression<Op, T1, T2, T3> &expr)
#undef GRID_DEF_UNOP #undef GRID_DEF_UNOP
#undef GRID_DEF_BINOP #undef GRID_DEF_BINOP
#undef GRID_DEF_TRINOP #undef GRID_DEF_TRINOP
} NAMESPACE_END(Grid);
#if 0 #if 0
using namespace Grid; using namespace Grid;
int main(int argc,char **argv){ int main(int argc,char **argv){
Lattice<double> v1(16); Lattice<double> v1(16);
Lattice<double> v2(16); Lattice<double> v2(16);
@ -455,7 +455,7 @@ using namespace Grid;
v3=v1+v2; v3=v1+v2;
v3=v1+v2+v1*v2; v3=v1+v2+v1*v2;
}; };
void testit(Lattice<double> &v1,Lattice<double> &v2,Lattice<double> &v3) void testit(Lattice<double> &v1,Lattice<double> &v2,Lattice<double> &v3)
{ {