diff --git a/packages/math/vector/index.js b/packages/math/vector/index.js index 80fbe95..c65912d 100644 --- a/packages/math/vector/index.js +++ b/packages/math/vector/index.js @@ -37,7 +37,7 @@ export function sub(l, r) { // avocado> Vector.mul [3, 5], [5, 5] // [15, 25] export function mul(l, r) { - [l[0] * r[0], l[1] * r[1]]; + return [l[0] * r[0], l[1] * r[1]]; } // Divide two vectors.