From d74a5905c647af5ec2e862e098ebe679774baa8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Sat, 20 Jul 2013 15:18:44 +0200 Subject: [PATCH] Fix sub_dot implementations. --- src/vec_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vec_impl.rs b/src/vec_impl.rs index 36422217..9f3ed288 100644 --- a/src/vec_impl.rs +++ b/src/vec_impl.rs @@ -185,7 +185,7 @@ macro_rules! sub_dot_impl( { #[inline] fn sub_dot(&self, a: &$t, b: &$t) -> N - { (self.$comp0 - a.$comp0) * b.$comp0 $(+ (self.$compN - a.$comp0) * b.$compN )* } + { (self.$comp0 - a.$comp0) * b.$comp0 $(+ (self.$compN - a.$compN) * b.$compN )* } } ) )