summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'dimension')
-rw-r--r--dimension/grammar.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/dimension/grammar.y b/dimension/grammar.y
index 27685b7..5f82028 100644
--- a/dimension/grammar.y
+++ b/dimension/grammar.y
@@ -1309,7 +1309,7 @@ dmnsn_eval_vector_binary(dmnsn_astnode astnode)
dmnsn_astnode lhs, rhs;
dmnsn_array_get(astnode.children, 0, &lhs);
- dmnsn_array_get(astnode.children, 0, &rhs);
+ dmnsn_array_get(astnode.children, 1, &rhs);
lhs = dmnsn_eval_vector(lhs);
rhs = dmnsn_eval_vector(rhs);