[eigen3] 01/04: Add missing patch.

Anton Gladky gladk at moszumanska.debian.org
Sat Sep 3 20:18:13 UTC 2016


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

gladk pushed a commit to branch master
in repository eigen3.

commit f7025697c9a654e0886afa682d17e54d80a8c8cb
Author: Anton Gladky <gladk at debian.org>
Date:   Sat Sep 3 22:09:19 2016 +0200

    Add missing patch.
---
 debian/patches/12_grammer_tweak.patch | 38 +++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/debian/patches/12_grammer_tweak.patch b/debian/patches/12_grammer_tweak.patch
new file mode 100644
index 0000000..0dd9884
--- /dev/null
+++ b/debian/patches/12_grammer_tweak.patch
@@ -0,0 +1,38 @@
+Author: Michael R. Crusoe <crusoe at ucdavis.edu>
+Description: Correct grammer error found by lintian which can leak into other
+projects.
+Index: eigen3/Eigen/src/Core/DenseBase.h
+===================================================================
+--- eigen3.orig/Eigen/src/Core/DenseBase.h
++++ eigen3/Eigen/src/Core/DenseBase.h
+@@ -242,7 +242,7 @@ template<typename Derived> class DenseBa
+     {
+       EIGEN_ONLY_USED_FOR_DEBUG(newSize);
+       eigen_assert(newSize == this->size()
+-                && "DenseBase::resize() does not actually allow to resize.");
++                && "DenseBase::resize() does not actually allow one to resize.");
+     }
+     /** Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods are
+       * Matrix::resize() and Array::resize(). The present method only asserts that the new size equals the old size, and does
+@@ -254,7 +254,7 @@ template<typename Derived> class DenseBa
+       EIGEN_ONLY_USED_FOR_DEBUG(rows);
+       EIGEN_ONLY_USED_FOR_DEBUG(cols);
+       eigen_assert(rows == this->rows() && cols == this->cols()
+-                && "DenseBase::resize() does not actually allow to resize.");
++                && "DenseBase::resize() does not actually allow one to resize.");
+     }
+ 
+ #ifndef EIGEN_PARSED_BY_DOXYGEN
+Index: eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h
+===================================================================
+--- eigen3.orig/Eigen/src/SparseCore/SparseSelfAdjointView.h
++++ eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h
+@@ -153,7 +153,7 @@ template<typename MatrixType, unsigned i
+       EIGEN_ONLY_USED_FOR_DEBUG(rows);
+       EIGEN_ONLY_USED_FOR_DEBUG(cols);
+       eigen_assert(rows == this->rows() && cols == this->cols()
+-                && "SparseSelfadjointView::resize() does not actually allow to resize.");
++                && "SparseSelfadjointView::resize() does not actually allow one to resize.");
+     }
+     
+   protected:

-- 
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