Performance of CovariantCshift now non-embarrassing.

This commit is contained in:
Peter Boyle committed 2018-04-26 17:56:27 +01:00
1 parent 05b44aef6b
commit fa0d8feff4
3 files changed
+60 -42

No files matched your search

+2 -1
View File
@@ -256,7 +256,7 @@ public:
_odata[ss]=r._odata[ss];
}
}
Lattice(Lattice&& r){ // move constructor
_grid = r._grid;
checkerboard = r.checkerboard;
@@ -270,6 +270,7 @@ public:
_odata =std::move(r._odata);
return *this;
}
inline Lattice<vobj> & operator = (const Lattice<vobj> & r){
_grid = r._grid;
checkerboard = r.checkerboard;