mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-02 14:08:05 +01:00
Real/Complex improvements
This commit is contained in:
1 parent
d74aa0e1e6
commit
17de4bce20
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