Update src/geometry/scale.rs

Removed return

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
This commit is contained in:
Yuri6037 2021-10-24 20:25:48 +02:00 committed by GitHub
parent 6123c86f9e
commit 26e36c15ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -325,9 +325,10 @@ impl<T: Scalar, const D: usize> Scale<T, D> {
{
if let Some(v) = self.try_inverse() {
self.vector = v.vector;
return true;
true
} else {
false
}
return false;
}
}