summaryrefslogtreecommitdiff
path: root/expr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'expr.cc')
-rw-r--r--expr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/expr.cc b/expr.cc
index 759cc96..0706d33 100644
--- a/expr.cc
+++ b/expr.cc
@@ -87,7 +87,7 @@ Value Expression::evaluate(const Context *context) const
Value v = children[i]->evaluate(context);
if (v.type != Value::NUMBER)
return Value();
- m[i] = v.num;
+ m[i == 15 ? 15 : (i*4) % 15] = v.num;
}
return Value(m);
}
contact: Jan Huwald // Impressum