Debugged the real() and imag() functions and added tests to Test_Simd

This commit is contained in:
Guido Cossu committed 2016-07-06 14:16:03 +01:00
1 parent 3e3b367aa9
commit e3d5319470
6 files changed
+999 -867

No files matched your search

+1 -1
View File
@@ -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>