Fixed things some mroe
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user