Update src/geometry/scale.rs
Removed return Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
This commit is contained in:
parent
de41c42af7
commit
91b8424a86
|
@ -249,9 +249,9 @@ impl<T: Scalar, const D: usize> Scale<T, D> {
|
|||
.vector
|
||||
.map(|e| {
|
||||
if e != T::zero() {
|
||||
return T::one() / e;
|
||||
T::one() / e
|
||||
} else {
|
||||
return T::zero();
|
||||
T::zero()
|
||||
}
|
||||
})
|
||||
.into();
|
||||
|
|
Loading…
Reference in New Issue