From 17e2e35829993b7f7cbbf7ffe81859ee2f816f80 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Tue, 1 Jan 2013 17:13:10 +0000
Subject: [PATCH 3/3] Fix the Rec. 709 parametric curve type example in the
 test program

The code is commented out, but it stops someone trying to do the same as me
making the same mistake.
---
 testbed/testcms2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbed/testcms2.c b/testbed/testcms2.c
index 5e0b6b9..92dc931 100644
--- a/testbed/testcms2.c
+++ b/testbed/testcms2.c
@@ -7920,7 +7920,7 @@ switch (Type)
 case 709:
 
 if (R <= (Params[3]*Params[4])) Fun = R / Params[3];
-else Fun = pow(((R - Params[2])/Params[1]), Params[0]);
+else Fun = pow(((R + Params[2])/Params[1]), Params[0]);
 break;
 
 case -709:
-- 
1.8.0.2

