Fix simd
This commit is contained in:
parent
f8e92ed327
commit
2a7e2ebda3
1 changed files with 4 additions and 0 deletions
|
@ -409,6 +409,10 @@ macro_rules! impl_vector_default {
|
|||
fn product(self) -> S where S: Mul<Output = S> {
|
||||
fold_array!(mul, { $(self.$field),+ })
|
||||
}
|
||||
|
||||
fn is_finite(&self) -> bool where S: BaseFloat {
|
||||
$(self.$field.is_finite())&&+
|
||||
}
|
||||
}
|
||||
|
||||
impl<S: BaseNum> Zero for $VectorN<S> {
|
||||
|
|
Loading…
Reference in a new issue