1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-13 12:47:05 +01:00

Namespace

This commit is contained in:
paboyle
2018-01-14 23:51:38 +00:00
parent 4c829b410e
commit 72ffa8a88e

View File

@ -29,7 +29,9 @@ Author: Peter Boyle <peterboyle@Peters-MacBook-Pro-2.local>
/* END LEGAL */ /* END LEGAL */
#ifndef GRID_LATTICE_WHERE_H #ifndef GRID_LATTICE_WHERE_H
#define GRID_LATTICE_WHERE_H #define GRID_LATTICE_WHERE_H
namespace Grid {
NAMESPACE_BEGIN(Grid);
// Must implement the predicate gating the // Must implement the predicate gating the
// Must be able to reduce the predicate down to a single vInteger per site. // Must be able to reduce the predicate down to a single vInteger per site.
// Must be able to require the type be iScalar x iScalar x .... // Must be able to require the type be iScalar x iScalar x ....
@ -82,5 +84,6 @@ inline Lattice<vobj> whereWolf(const Lattice<iobj> &predicate,Lattice<vobj> &ift
return ret; return ret;
} }
}
NAMESPACE_END(Grid);
#endif #endif