forked from M-Labs/nalgebra
Update src/geometry/scale_coordinates.rs
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
This commit is contained in:
parent
c11e1ffb4d
commit
510ffcbb18
@ -18,7 +18,7 @@ macro_rules! deref_impl(
|
||||
|
||||
#[inline]
|
||||
fn deref(&self) -> &Self::Target {
|
||||
unsafe { &*(self as *const Scale<T, $D> as *const Self::Target) }
|
||||
self.vector.deref()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user