diff --git a/nested/src/grid/mod.rs b/nested/src/grid/mod.rs index 478d2ee..ec49777 100644 --- a/nested/src/grid/mod.rs +++ b/nested/src/grid/mod.rs @@ -29,7 +29,7 @@ impl IndexArea> { pub fn range(&self) -> RangeInclusive> { match self { - IndexArea::Empty => Point2::new(i16::MAX, i16::MAX)..=Point2::new(i16::MIN, i16::MIN), + IndexArea::Empty => Point2::new(1, 1)..=Point2::new(0, 0), IndexArea::Full => panic!("range from full grid area"), IndexArea::Set(v) => { Point2::new(