[gegl/samplers] Minor fix for inverse jacobian.



commit b06295f63ba44e91bd59e015f938186438cc9d3b
Author: Adam Turcotte <aturcotte src gnome org>
Date:   Sun May 8 15:59:00 2011 -0400

    Minor fix for inverse jacobian.

 operations/affine/affine.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/operations/affine/affine.c b/operations/affine/affine.c
index f22e0a0..b44c2f2 100644
--- a/operations/affine/affine.c
+++ b/operations/affine/affine.c
@@ -709,10 +709,10 @@ affine_generic (GeglBuffer  *dest,
 
       gegl_matrix3_copy_into (&inverse, matrix);
       gegl_matrix3_invert (&inverse);
-      inverse_jacobian.coeff[0] = inverse.coeff[0][0];
-      inverse_jacobian.coeff[1] = inverse.coeff[0][1];
-      inverse_jacobian.coeff[2] = inverse.coeff[1][0];
-      inverse_jacobian.coeff[3] = inverse.coeff[1][1];
+      inverse_jacobian[0] = inverse.coeff[0][0];
+      inverse_jacobian[1] = inverse.coeff[0][1];
+      inverse_jacobian[2] = inverse.coeff[1][0];
+      inverse_jacobian[3] = inverse.coeff[1][1];
 
      /* set inverse_jacobian for samplers that support it */
       sampler->inverse_jacobian = inverse_jacobian;



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