summaryrefslogtreecommitdiff
path: root/glass.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'glass.hpp')
-rw-r--r--glass.hpp4
1 files changed, 2 insertions, 2 deletions
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);
}