mirror of
https://github.com/paboyle/Grid.git
synced 2026-09-29 20:53:20 +01:00
Real/Complex improvements
This commit is contained in:
1 parent
2949e5feca
commit
6d6e9a5811
1 file changed
+2
-1
@@ -10,7 +10,8 @@ namespace Grid {
|
||||
typedef typename sobj::scalar_type scalar;
|
||||
decltype(innerProduct(arg,arg)) nrm;
|
||||
nrm = innerProduct(arg,arg);
|
||||
return real(nrm);
|
||||
RealD ret = real(nrm);
|
||||
return ret;
|
||||
}
|
||||
|
||||
template<class l,class r,int N> inline
|
||||
|
||||
Reference in new issue
Block a user