diff --git a/src/geometry/scale.rs b/src/geometry/scale.rs index f626174d..fc966013 100755 --- a/src/geometry/scale.rs +++ b/src/geometry/scale.rs @@ -187,7 +187,7 @@ impl Scale { T: ClosedDiv + One + Zero, { for i in 0..D { - if self.vector[(i, 0)] == T::zero() { + if self.vector[i] == T::zero() { return None; } }