From 3424b1c75fb5a825d4aa5d3fa05a936ec8e5936d Mon Sep 17 00:00:00 2001 From: Paul Montag Date: Thu, 16 Apr 2026 23:38:00 -0500 Subject: [PATCH] Fixed things some mroe --- src/grome/matrix.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grome/matrix.zig b/src/grome/matrix.zig index d056eee..c66fcd9 100644 --- a/src/grome/matrix.zig +++ b/src/grome/matrix.zig @@ -172,7 +172,7 @@ pub fn SubMatrix(comptime T: type) type { } pub fn set(self: *@This(), loc: Point, val: T) !void { - if (loc.x >= self._mask.width or loc.y >= self._mask.width) { + if (loc.x >= self._mask.width or loc.y >= self._mask.height) { return Error.OutOfBounds; }