From 99802094e471bb64cc3c3e3d0b2391ba2a1e75a2 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 12 Aug 2009 18:30:37 -0400 Subject: do without an empirical homemade formula that i wasn't comfortable about... turns out it's not needed anymore and removing it seems to only increase the precision --- Eigen/src/Jacobi/Jacobi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src') diff --git a/Eigen/src/Jacobi/Jacobi.h b/Eigen/src/Jacobi/Jacobi.h index 48195c1ec..785dd26ab 100644 --- a/Eigen/src/Jacobi/Jacobi.h +++ b/Eigen/src/Jacobi/Jacobi.h @@ -50,7 +50,7 @@ void MatrixBase::applyJacobiOnTheRight(int p, int q, Scalar c, Scalar s template bool ei_makeJacobi(Scalar x, Scalar y, Scalar z, Scalar *c, Scalar *s) { - if(ei_abs(y) <= ei_abs(z-x) * 0.5 * machine_epsilon()) + if(y == 0) { *c = Scalar(1); *s = Scalar(0); -- cgit v1.2.3