[gegl] sampler-cubic.c: <= -> < B/C 0 in both cases
- From: Nicolas Robidoux <nrobidoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] sampler-cubic.c: <= -> < B/C 0 in both cases
- Date: Sat, 24 Nov 2012 01:08:48 +0000 (UTC)
commit bdf8d44ab33981f476e25fc399d91ca7ee25d4cc
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date: Fri Nov 23 20:08:32 2012 -0500
sampler-cubic.c: <= -> < B/C 0 in both cases
gegl/buffer/gegl-sampler-cubic.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-cubic.c b/gegl/buffer/gegl-sampler-cubic.c
index eac3b16..e8d84f2 100644
--- a/gegl/buffer/gegl-sampler-cubic.c
+++ b/gegl/buffer/gegl-sampler-cubic.c
@@ -280,7 +280,7 @@ cubicKernel (const gfloat x,
(gfloat) ((-18+12*b+6*c)/6) ) * x2 +
(gfloat) ((6-2*b)/6);
- if (x2 <= (gfloat) 4.)
+ if (x2 < (gfloat) 4.)
return ( (gfloat) ((-b-6*c)/6) * ax +
(gfloat) ((6*b+30*c)/6) ) * x2 +
(gfloat) ((-12*b-48*c)/6) * ax +
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]