diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-25 20:14:01 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-25 20:14:01 -0500 |
commit | 1c899d86c393faf021298d08471f0dd48d5306d7 (patch) | |
tree | b660c39c3afcb44c2bc236cbea10aacbfecb00b4 /dimension | |
parent | 48ded3e40b77d2c072429854e2ebf81744c3e552 (diff) | |
download | dimension-1c899d86c393faf021298d08471f0dd48d5306d7.tar.xz |
Fix binary vector arithmetic expressions.
Diffstat (limited to 'dimension')
-rw-r--r-- | dimension/grammar.y | 2 |
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); |