Fix vector subtraction

This commit is contained in:
Scott Richmond 2024-01-22 17:37:11 -05:00
parent 1b361971bc
commit aef33279ca

View File

@ -369,7 +369,7 @@ fn sub {
(x as :number) -> x
(x as :number, y as :number) -> base :sub (x, y)
(x, y, ...zs) -> fold (base :sub, zs, base :sub (x, y))
((x1, y1), (x2, y2)) -> (base :sub (x1, x2), base :sub (x2, y2))
((x1, y1), (x2, y2)) -> (base :sub (x1, x2), base :sub (y1, y2))
}
fn mult {