[gegl] samples: fix compilation



commit b54e5b2c2078770f95eca1a7a036f2b0adc131ca
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Mon Jun 20 10:55:43 2011 +0100

    samples: fix compilation

 gegl/buffer/gegl-sampler-lohalo.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index eb38180..0c96bd9 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -2045,11 +2045,11 @@ gegl_sampler_lohalo_get (      GeglSampler* restrict self,
 	LOHALO_CALL_EWA_UPDATE( 2, 2);
 
         {
-	  const gfloat theta_gdouble = (gdouble) 1. / ellipse_f;
+	  const gfloat theta_double = (gdouble) 1. / ellipse_f;
  
           // if THE DATA WE NEED (BOUNDING BOX) FITS WITHIN THE DATA WE ACCESSED
           //  {
-              const gfloat ewa_factor = ( 1. - theta_gdouble ) / total_weight;
+              const gfloat ewa_factor = ( 1. - theta_double ) / total_weight;
 	      const gfloat theta = (gfloat) theta_double;
               newval[0] = theta * newval[0] + ewa_factor * ewa_newval[0];
               newval[1] = theta * newval[1] + ewa_factor * ewa_newval[1];



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]