From e3088a1fed1de270767ed011a1ea20c383b7f881 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 25 Jun 2021 11:34:39 +0200 Subject: Everything compiles. --- glass.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glass.hpp') diff --git a/glass.hpp b/glass.hpp index d313ced..fc7b186 100644 --- a/glass.hpp +++ b/glass.hpp @@ -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); } -- cgit v1.2.3-54-g00ecf