mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	Fix make tests compile
This commit is contained in:
		@@ -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,14 +53,15 @@ 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);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -67,7 +67,7 @@ int main (int argc, char ** argv)
 | 
			
		||||
  LatticeFermion    err(FGrid);
 | 
			
		||||
  LatticeGaugeField Umu(UGrid); 
 | 
			
		||||
 | 
			
		||||
  NerscField header;
 | 
			
		||||
  FieldMetaData header;
 | 
			
		||||
  std::string file("./ckpoint_lat.400");
 | 
			
		||||
  NerscIO::readConfiguration(Umu,header,file);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -516,7 +516,7 @@ int main (int argc, char ** argv)
 | 
			
		||||
  LatticeColourMatrix U(UGrid);
 | 
			
		||||
  LatticeColourMatrix zz(UGrid);
 | 
			
		||||
 | 
			
		||||
  NerscField header;
 | 
			
		||||
  FieldMetaData header;
 | 
			
		||||
  std::string file("./ckpoint_lat.4000");
 | 
			
		||||
  NerscIO::readConfiguration(Umu,header,file);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user