From 50975a2e6db57b19efb55f20dcd7dd5a820a0708 Mon Sep 17 00:00:00 2001 From: nitrogenez Date: Sun, 3 Sep 2023 20:37:45 +0300 Subject: [PATCH] zls wouldn't tell that there's something missing --- src/colorspaces/rgb.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/colorspaces/rgb.zig b/src/colorspaces/rgb.zig index 2d947df..38c2e40 100644 --- a/src/colorspaces/rgb.zig +++ b/src/colorspaces/rgb.zig @@ -24,7 +24,7 @@ pub const RGB = struct { } pub fn monochrome(self: *const RGB) f32 { - const xyz: XYZ = XYZ.fromRGB(self) + const xyz: XYZ = XYZ.fromRGB(self); return xyz.y; }