mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	Some fix for the GenericHMCrunner
This commit is contained in:
		@@ -143,6 +143,7 @@ int main(int argc, char **argv) {
 | 
			
		||||
 | 
			
		||||
      random(FineRNG, Foo);
 | 
			
		||||
      gaussian(FineRNG, Bar);
 | 
			
		||||
 | 
			
		||||
      random(FineRNG, scFoo);
 | 
			
		||||
      random(FineRNG, scBar);
 | 
			
		||||
 | 
			
		||||
@@ -169,6 +170,18 @@ int main(int argc, char **argv) {
 | 
			
		||||
        abort();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
      // Norm2 check
 | 
			
		||||
      LatticeReal BarReal(&Fine);
 | 
			
		||||
      LatticeComplex BarComplex(&Fine);
 | 
			
		||||
      BarReal = 1.0;
 | 
			
		||||
      BarComplex = 1.0;
 | 
			
		||||
 | 
			
		||||
      
 | 
			
		||||
      std::cout << "Norm2 LatticeReal : "<< norm2(BarReal) << std::endl;
 | 
			
		||||
      std::cout << "Norm2 LatticeComplex : "<< norm2(BarComplex) << std::endl;
 | 
			
		||||
 | 
			
		||||
      exit(0);
 | 
			
		||||
 | 
			
		||||
      TComplex tr = trace(cmat);
 | 
			
		||||
 | 
			
		||||
      cVec = cMat * cVec;     // LatticeColourVector     = LatticeColourMatrix
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user