mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-11 18:28:06 +01:00
Debugged the real() and imag() functions and added tests to Test_Simd
This commit is contained in:
1 parent
3e3b367aa9
commit
e3d5319470
6 files changed
+999
-867
No files matched your search
@@ -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