From 89d73f9b195cfcd7a617552cdb8d9637b6038d08 Mon Sep 17 00:00:00 2001 From: nicolas Date: Sun, 24 Oct 2010 20:11:54 +0000 Subject: [PATCH] --- magick/resize.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/magick/resize.c b/magick/resize.c index 16c7b976c..5a128a0dc 100644 --- a/magick/resize.c +++ b/magick/resize.c @@ -221,8 +221,10 @@ static MagickRealType CubicBC(const MagickRealType x, Q0 + Q1*x + Q2*x^2 + Q3*x^3 1 <= x < 2 which ensures function is continuous in value and derivative - (slope). This implies that P1 is always zero; for this reason, it - is skipped. + (slope). + + P1 is always zero; for this reason, it is skipped: + coeff[0]=P0, coeff[1]=P2. */ if (x < 1.0) return(resize_filter->coeff[0]+x*(x* -- 2.50.1