mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Real/Complex improvements
This commit is contained in:
parent
8fa0c90062
commit
a81998f704
@ -10,7 +10,8 @@ namespace Grid {
|
|||||||
typedef typename sobj::scalar_type scalar;
|
typedef typename sobj::scalar_type scalar;
|
||||||
decltype(innerProduct(arg,arg)) nrm;
|
decltype(innerProduct(arg,arg)) nrm;
|
||||||
nrm = innerProduct(arg,arg);
|
nrm = innerProduct(arg,arg);
|
||||||
return real(nrm);
|
RealD ret = real(nrm);
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class l,class r,int N> inline
|
template<class l,class r,int N> inline
|
||||||
|
Loading…
Reference in New Issue
Block a user