From 1586d288620f08163b58c67913ac043c5e7433c6 Mon Sep 17 00:00:00 2001 From: FooIbar <118464521+FooIbar@users.noreply.github.com> Date: Wed, 11 Feb 2026 14:02:17 +0800 Subject: [PATCH] Fix syntax error --- scripts/conformance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/conformance.py b/scripts/conformance.py index 7d511b1..778b9e2 100755 --- a/scripts/conformance.py +++ b/scripts/conformance.py @@ -43,7 +43,7 @@ def CompareNPY(ref, ref_icc, dec, dec_icc, frame_idx, rmse_limit, peak_error, la return Failure(f'Expected shape {ref.shape} but found {dec.shape}') num_channels = ref_frame.shape[2] - if ref_icc != dec_icc && peak_error > 0: + if ref_icc != dec_icc and peak_error > 0: # Transform colors before comparison. # Skip this if we expect fully lossless, since it introduces tiny errors # (even in the case where ref_icc and dec_icc are equivalent so it's a no-op)