[eigen3] 01/01: Fix grammar error. (Closes: #813233)

Anton Gladky gladk at moszumanska.debian.org
Sat Aug 27 06:46:57 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 221266e3a11d758fa9724d87b63a13cada7e7ed6
Author: Michael R. Crusoe <crusoe at ucdavis.edu>
Date:   Sat Aug 27 08:46:10 2016 +0200

    Fix grammar error. (Closes: #813233)
---
 debian/patches/10_grammer_tweak.patch | 34 ++++++++++++++++++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 35 insertions(+)

diff --git a/debian/patches/10_grammer_tweak.patch b/debian/patches/10_grammer_tweak.patch
new file mode 100644
index 0000000..8bb9682
--- /dev/null
+++ b/debian/patches/10_grammer_tweak.patch
@@ -0,0 +1,34 @@
+Author: Michael R. Crusoe <crusoe at ucdavis.edu>
+Description: Correct grammer error found by lintian which can leak into other
+projects.
+--- eigen3.orig/Eigen/src/Core/DenseBase.h
++++ eigen3/Eigen/src/Core/DenseBase.h
+@@ -246,7 +246,7 @@
+     {
+       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
+@@ -258,7 +258,7 @@
+       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
+--- eigen3.orig/Eigen/src/SparseCore/SparseSelfAdjointView.h
++++ eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h
+@@ -153,7 +153,7 @@
+       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:
diff --git a/debian/patches/series b/debian/patches/series
index 6f70a63..170ae42 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 07_remove_compressed_doc.patch
 08_fix_path_FindEigen3.patch
 10_vectorization.patch
+12_grammer_tweak.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