diff --git a/src/math/point.rs b/src/math/point.rs index 1e05658f0..eb1345dca 100644 --- a/src/math/point.rs +++ b/src/math/point.rs @@ -166,7 +166,7 @@ impl ops::Mul for Point { } impl AbsDiffEq for Point { - type Epsilon = ::Epsilon; + type Epsilon = as AbsDiffEq>::Epsilon; fn default_epsilon() -> Self::Epsilon { f64::default_epsilon() diff --git a/src/math/vector.rs b/src/math/vector.rs index 7262820a2..cff6e30f6 100644 --- a/src/math/vector.rs +++ b/src/math/vector.rs @@ -169,7 +169,7 @@ impl ops::Div for Vector { } impl AbsDiffEq for Vector { - type Epsilon = ::Epsilon; + type Epsilon = ::Epsilon; fn default_epsilon() -> Self::Epsilon { f64::default_epsilon()