diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-06-25 11:34:39 +0200 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-06-25 11:34:39 +0200 |
commit | e3088a1fed1de270767ed011a1ea20c383b7f881 (patch) | |
tree | b6cdb26e4884db4ce039078d6c715afd37120501 /glass.hpp | |
parent | 70b13f405bf861dd16e0ddb963293e5546599b3d (diff) | |
download | lattice_glass-e3088a1fed1de270767ed011a1ea20c383b7f881.tar.gz lattice_glass-e3088a1fed1de270767ed011a1ea20c383b7f881.tar.bz2 lattice_glass-e3088a1fed1de270767ed011a1ea20c383b7f881.zip |
Everything compiles.
Diffstat (limited to 'glass.hpp')
-rw-r--r-- | glass.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -573,7 +573,7 @@ public: bool dry = 0.5 < r.uniform(0.0, 1.0); unsigned n = flipCluster(R, v, r, dry); if (n > pow(HardSystem::L, D) / 4 && !dry) { - orientation = R.apply(orientation); + HardSystem::orientation = R.apply(HardSystem::orientation); } } } @@ -587,7 +587,7 @@ public: int o = 0; for (unsigned i = 0; i < HardSystem::vertices.size(); i++) { - S s2 = orientation.apply(s.vertices[HardSystem::vectorToIndex(orientation.inverse().apply(HardSystem::indexToVector(i)))].state); + S s2 = HardSystem::orientation.apply(s.vertices[HardSystem::vectorToIndex(HardSystem::orientation.inverse().apply(HardSystem::indexToVector(i)))].state); o += HardSystem::vertices[i].state.dot(s2); } |