about summary refs log tree commit diff stats
path: root/078hash.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-04-30 10:09:38 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-04-30 10:09:38 -0700
commit471839dad7e953fdd88902e03ddb55c02377ad44 (patch)
tree14d6e855e0d6a16fa1e3f32af84fde61585c8023 /078hash.cc
parent841387aea82a398e86871c54132bb5d6b19ddca4 (diff)
downloadmu-471839dad7e953fdd88902e03ddb55c02377ad44.tar.gz
2889
Diffstat (limited to '078hash.cc')
-rw-r--r--078hash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/078hash.cc b/078hash.cc
index 59b3e222..91db00ba 100644
--- a/078hash.cc
+++ b/078hash.cc
@@ -100,7 +100,7 @@ size_t hash_mu_container(size_t h, const reagent& r) {
   int address = r.value;
   int offset = 0;
   for (int i = 0; i < SIZE(info.elements); ++i) {
-    reagent element = element_type(r, i);
+    reagent element = element_type(r.type, i);
     if (has_property(element, "ignore-for-hash")) continue;
     element.set_value(address+offset);
     h = hash(h, element);