From 247b2f38df78d226adbd4f2a428a714af97fd128 Mon Sep 17 00:00:00 2001 From: Jonathan Swartz Date: Thu, 23 Apr 2026 11:19:11 +1200 Subject: [PATCH] =?UTF-8?q?Fix=20a=20typo=20at=20=C8=B3(547=20nm)=20in=20C?= =?UTF-8?q?IE=201931=202=C2=B0=20observer=20table?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tabulated value was 0.9874812. Per CIE 018:2019 Table 6 (DOI 10.25039/CIE.DS.xvudnb9b), the correct value is 0.9874182. Verification from CIE published data: ``` import urllib.request, csv, io url = "https://files.cie.co.at/CIE_xyz_1931_2deg.csv" data = urllib.request.urlopen(url).read().decode() for row in csv.reader(io.StringIO(data)): if row and row[0].strip() == "547": print(f"y-bar at 547nm = {row[2]}") break ``` Signed-off-by: Jonathan Swartz --- src/pbrt/util/spectrum.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pbrt/util/spectrum.cpp b/src/pbrt/util/spectrum.cpp index 019f307a..67ca2ec9 100644 --- a/src/pbrt/util/spectrum.cpp +++ b/src/pbrt/util/spectrum.cpp @@ -403,7 +403,7 @@ const Float CIE_Y[nCIESamples] = { 0.8620000, 0.8738108, 0.8849624, 0.8954936, 0.9054432, 0.9148501, 0.9237348, 0.9320924, 0.9399226, 0.9472252, 0.9540000, 0.9602561, 0.9660074, 0.9712606, 0.9760225, - 0.9803000, 0.9840924, 0.9874812, 0.9903128, 0.9928116, + 0.9803000, 0.9840924, 0.9874182, 0.9903128, 0.9928116, 0.9949501, 0.9967108, 0.9980983, 0.9991120, 0.9997482, 1.0000000, 0.9998567, 0.9993046, 0.9983255, 0.9968987, 0.9950000, 0.9926005, 0.9897426, 0.9864444, 0.9827241,