Fix sub_dot implementations.
This commit is contained in:
parent
cf216f9b90
commit
d74a5905c6
|
@ -185,7 +185,7 @@ macro_rules! sub_dot_impl(
|
||||||
{
|
{
|
||||||
#[inline]
|
#[inline]
|
||||||
fn sub_dot(&self, a: &$t<N>, b: &$t<N>) -> N
|
fn sub_dot(&self, a: &$t<N>, b: &$t<N>) -> 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 )* }
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue