From 05bd4b83bd56e7b3dedcc513c07fd82be2198d3d Mon Sep 17 00:00:00 2001 From: salinasd Date: Mon, 23 Feb 2015 13:58:21 +0000 Subject: skbl renaming, new link methods for abstract link of geometrical complex git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@468 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: cb85e1ae86635857fbaaa0781526cb3eeaa9a50a --- src/Contraction/example/Garland_heckbert/Error_quadric.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Contraction/example/Garland_heckbert/Error_quadric.h') diff --git a/src/Contraction/example/Garland_heckbert/Error_quadric.h b/src/Contraction/example/Garland_heckbert/Error_quadric.h index 7a30c35a..725a3a56 100755 --- a/src/Contraction/example/Garland_heckbert/Error_quadric.h +++ b/src/Contraction/example/Garland_heckbert/Error_quadric.h @@ -123,11 +123,11 @@ public : * Det must be passed with the determinant value of the gradient (should be non zero). */ inline Point solve_linear_gradient(double det = grad_determinant()) const{ - return Point( + return Point({ (-coeff[1]*coeff[5]*coeff[8]+coeff[1]*coeff[7]*coeff[6]+coeff[2]*coeff[8]*coeff[4]-coeff[2]*coeff[5]*coeff[6]-coeff[3]*coeff[4]*coeff[7]+coeff[3]*coeff[5]*coeff[5])/ det, (coeff[0]*coeff[5]*coeff[8]-coeff[0]*coeff[7]*coeff[6]-coeff[5]*coeff[2]*coeff[3]-coeff[1]*coeff[2]*coeff[8]+coeff[6]*coeff[2]*coeff[2]+coeff[1]*coeff[3]*coeff[7])/det, (-coeff[8]*coeff[0]*coeff[4]+coeff[8]*coeff[1]*coeff[1]+coeff[2]*coeff[3]*coeff[4]+coeff[5]*coeff[0]*coeff[6]-coeff[5]*coeff[1]*coeff[3]-coeff[1]*coeff[2]*coeff[6])/det - ); + }); } -- cgit v1.2.3