From 240fddd01b90f8e2d56da3e6bed2e76c57d09e6f Mon Sep 17 00:00:00 2001 From: "skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com" Date: Mon, 7 May 2018 14:47:26 +0000 Subject: Roll skia/third_party/skcms 02fc32e..bd90169 (1 commits) https://skia.googlesource.com/skcms.git/+log/02fc32e..bd90169 2018-05-07 brianosman@google.com Verify that PolyTF parameters are finite after each step The AutoRoll server is located here: https://skcms-skia-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel TBR=egdaniel@google.com Change-Id: I759874e04430deb9c4e43ecb4e9b9594830de760 Reviewed-on: https://skia-review.googlesource.com/126442 Commit-Queue: skcms-skia-autoroll Reviewed-by: skcms-skia-autoroll --- third_party/skcms/src/GaussNewton.c | 3 ++- third_party/skcms/version.sha1 | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'third_party/skcms') diff --git a/third_party/skcms/src/GaussNewton.c b/third_party/skcms/src/GaussNewton.c index efbda240a4..11f55b53b4 100644 --- a/third_party/skcms/src/GaussNewton.c +++ b/third_party/skcms/src/GaussNewton.c @@ -8,6 +8,7 @@ #include "../skcms.h" #include "GaussNewton.h" #include "LinearAlgebra.h" +#include "PortableMath.h" #include "TransferFunction.h" #include #include @@ -90,7 +91,7 @@ bool skcms_gauss_newton_step(float (*rg)(float x, const void*, const float P[3], P[0] += dP.vals[0]; P[1] += dP.vals[1]; P[2] += dP.vals[2]; - return true; + return isfinitef_(P[0]) && isfinitef_(P[1]) && isfinitef_(P[2]); } float skcms_eval_curve(float x, const skcms_Curve* curve) { diff --git a/third_party/skcms/version.sha1 b/third_party/skcms/version.sha1 index 8ba237cecf..837b01de0d 100755 --- a/third_party/skcms/version.sha1 +++ b/third_party/skcms/version.sha1 @@ -1 +1 @@ -02fc32ea7f43008fd55a5fa0c12e43596aee4cd9 \ No newline at end of file +bd901697fae021f892fd862c8031f0d7c2e3399b \ No newline at end of file -- cgit v1.2.3