1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-12 20:27:06 +01:00

Performance of CovariantCshift now non-embarrassing.

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

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;