mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	Debugged the real() and imag() functions and added tests to Test_Simd
This commit is contained in:
		@@ -40,7 +40,7 @@ namespace Grid {
 | 
			
		||||
    ////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
  template<class vobj> inline RealD norm2(const Lattice<vobj> &arg){
 | 
			
		||||
    ComplexD nrm = innerProduct(arg,arg);
 | 
			
		||||
    return real(nrm); 
 | 
			
		||||
    return std::real(nrm); 
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
    template<class vobj>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user