diff --git a/tinygrad/shapetracker.py b/tinygrad/shapetracker.py index db9e37ffa9..0c373945ca 100644 --- a/tinygrad/shapetracker.py +++ b/tinygrad/shapetracker.py @@ -99,7 +99,7 @@ class ShapeTracker: def strided(self, *arg): view = View([x[0] for x in arg], [x[1] for x in arg]) # TODO: this does not always require a new view if non contiguous - if self.contiguous: + if self.views[-1].contiguous: self.views[-1] = view else: self.views.append(view)