mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-18 09:45:55 +01:00
Namespace, indnet
This commit is contained in:
parent
08f2a4564f
commit
4eb0552d1d
@ -36,7 +36,7 @@ Author: neo <cossu@post.kek.jp>
|
|||||||
// The choice of burying complex in the SIMD
|
// The choice of burying complex in the SIMD
|
||||||
// is making the use of "real" and "imag" very cumbersome
|
// is making the use of "real" and "imag" very cumbersome
|
||||||
|
|
||||||
namespace Grid {
|
NAMESPACE_BEGIN(Grid);
|
||||||
|
|
||||||
template<class vobj> inline Lattice<vobj> adj(const Lattice<vobj> &lhs){
|
template<class vobj> inline Lattice<vobj> adj(const Lattice<vobj> &lhs){
|
||||||
Lattice<vobj> ret(lhs._grid);
|
Lattice<vobj> ret(lhs._grid);
|
||||||
@ -53,5 +53,7 @@ namespace Grid {
|
|||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
NAMESPACE_END(Grid);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user