[eigen3] 01/02: Fix compilation warning in LDLT.h

Anton Gladky gladk at moszumanska.debian.org
Mon Sep 8 21:23:21 UTC 2014


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository eigen3.

commit b8a0d9f5b408ad5c895067c0a4fc8c6917f56d93
Author: Anton Gladky <gladk at debian.org>
Date:   Mon Sep 8 23:02:55 2014 +0200

    Fix compilation warning in LDLT.h
---
 debian/patches/05_fix_warning.patch | 16 ++++++++++++++++
 debian/patches/series               |  2 +-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/patches/05_fix_warning.patch b/debian/patches/05_fix_warning.patch
new file mode 100644
index 0000000..88cb8c5
--- /dev/null
+++ b/debian/patches/05_fix_warning.patch
@@ -0,0 +1,16 @@
+Description: fix compilation warning
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2014-09-08
+
+Index: eigen3/Eigen/src/Cholesky/LDLT.h
+===================================================================
+--- eigen3.orig/Eigen/src/Cholesky/LDLT.h
++++ eigen3/Eigen/src/Cholesky/LDLT.h
+@@ -502,7 +502,6 @@ struct solve_retval<LDLT<_MatrixType,_Up
+     using std::abs;
+     using std::max;
+     typedef typename LDLTType::MatrixType MatrixType;
+-    typedef typename LDLTType::Scalar Scalar;
+     typedef typename LDLTType::RealScalar RealScalar;
+     const typename Diagonal<const MatrixType>::RealReturnType vectorD(dec().vectorD());
+     // In some previous versions, tolerance was set to the max of 1/highest and the maximal diagonal entry * epsilon
diff --git a/debian/patches/series b/debian/patches/series
index 0495c13..8d2fd03 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,5 @@
 01_install_FindEigen3.patch
 02_remove_buildtype_check.patch
 03_fix_spline_module.patch
-
 04_remove_piwik.patch
+05_fix_warning.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/eigen3.git



More information about the debian-science-commits mailing list