1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-11 03:46:55 +01:00

Fix make tests compile

This commit is contained in:
Azusa Yamaguchi
2017-06-19 22:54:18 +01:00
parent abc4de0fd2
commit 0a8faac271
3 changed files with 10 additions and 7 deletions

View File

@ -15,6 +15,8 @@ namespace Grid {
typedef iImplField<Simd> SiteField;
template <typename vtype> using iImplScalar= iScalar<iScalar<iScalar<vtype > > >;
typedef iImplScalar<Simd> ComplexField;
typedef Lattice<SiteField> Field;
@ -51,13 +53,14 @@ namespace Grid {
public:
typedef S Simd;
template <typename vtype>
using iImplField = iScalar<iScalar<iMatrix<vtype, N> > >;
template <typename vtype> using iImplField = iScalar<iScalar<iMatrix<vtype, N> > >;
typedef iImplField<Simd> SiteField;
typedef Lattice<SiteField> Field;
template <typename vtype> using iImplScalar= iScalar<iScalar<iScalar<vtype > > >;
typedef iImplScalar<Simd> ComplexField;
static inline void generate_momenta(Field& P, GridParallelRNG& pRNG){
gaussian(pRNG, P);