File: 12_grammar_tweak.patch

package info (click to toggle)
eigen3 3.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 20,492 kB
  • sloc: cpp: 151,572; ansic: 75,396; fortran: 24,137; sh: 971; python: 244; javascript: 205; makefile: 42
file content (39 lines) | stat: -rw-r--r-- 1,968 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Description: Correct grammar error found by lintian which can leak into other
 .
 projects.
Author: Michael R. Crusoe <crusoe@ucdavis.edu>
Index: eigen3/Eigen/src/Core/DenseBase.h
===================================================================
--- eigen3.orig/Eigen/src/Core/DenseBase.h
+++ eigen3/Eigen/src/Core/DenseBase.h
@@ -247,7 +247,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
@@ -259,7 +259,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
@@ -157,7 +157,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: