Moving some things around for pretty

This commit is contained in:
Peter Boyle committed 2015-05-11 19:09:49 +01:00
1 parent a411b48a91
commit 8b765be2b1
6 files changed
+336 -324

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ namespace Grid {
// innerProduct Vector x Vector -> Scalar
// innerProduct Matrix x Matrix -> Scalar
///////////////////////////////////////////////////////////////////////////////////////
template<class sobj> inline RealD norm2l(const sobj &arg){
template<class sobj> inline RealD norm2(const sobj &arg){
typedef typename sobj::scalar_type scalar;
decltype(innerProduct(arg,arg)) nrm;
nrm = innerProduct(arg,arg);