From: Michael R. Crusoe <crusoe@debian.org>
Subject: fix minor spelling & grammatical errors
Forwarded: https://github.com/bbuchfink/diamond/pull/385
--- diamond-aligner.orig/src/basic/config.cpp
+++ diamond-aligner/src/basic/config.cpp
@@ -598,7 +598,7 @@
 		}
 		if(command == Config::cluster && !Workflow::Cluster::ClusterRegistry::has(cluster_algo)){
 			ostream &header_out = command == Config::help ? cout : cerr;
-			header_out << "Unkown clustering algorithm: " << cluster_algo << endl;
+			header_out << "Unknown clustering algorithm: " << cluster_algo << endl;
 			header_out << "Available options are: " << endl;
 			for(string c_algo : Workflow::Cluster::ClusterRegistry::getKeys()){
 				header_out << "\t" << c_algo << "\t"<< Workflow::Cluster::ClusterRegistry::get(c_algo)->get_description() << endl;
--- diamond-aligner.orig/src/lib/Eigen/src/Core/DenseBase.h
+++ diamond-aligner/src/lib/Eigen/src/Core/DenseBase.h
@@ -242,7 +242,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
@@ -254,7 +254,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
--- diamond-aligner.orig/src/lib/Eigen/src/Core/MathFunctions.h
+++ diamond-aligner/src/lib/Eigen/src/Core/MathFunctions.h
@@ -37,7 +37,7 @@
   * - otherwise, global_math_functions_filtering_base<T>::type is a typedef for T.
   *
   * How it's used:
-  * To allow to defined the global math functions (like sin...) in certain cases, like the Array expressions.
+  * To allow one to defined the global math functions (like sin...) in certain cases, like the Array expressions.
   * When you do sin(array1+array2), the object array1+array2 has a complicated expression type, all what you want to know
   * is that it inherits ArrayBase. So we implement a partial specialization of sin_impl for ArrayBase<Derived>.
   * So we must make sure to use sin_impl<ArrayBase<Derived> > and not sin_impl<Derived>, otherwise our partial specialization
--- diamond-aligner.orig/src/lib/Eigen/src/Core/PlainObjectBase.h
+++ diamond-aligner/src/lib/Eigen/src/Core/PlainObjectBase.h
@@ -728,7 +728,7 @@
       // and lazyAssign will be called by the assign selector.
       //_resize_to_match(other);
       // the 'false' below means to enforce lazy evaluation. We don't use lazyAssign() because
-      // it wouldn't allow to copy a row-vector into a column-vector.
+      // it wouldn't allow one to copy a row-vector into a column-vector.
       internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
       return this->derived();
     }
--- diamond-aligner.orig/src/lib/Eigen/src/Core/functors/StlFunctors.h
+++ diamond-aligner/src/lib/Eigen/src/Core/functors/StlFunctors.h
@@ -123,7 +123,7 @@
 
 #endif // EIGEN_STDEXT_SUPPORT
 
-// allow to add new functors and specializations of functor_traits from outside Eigen.
+// allow one to add new functors and specializations of functor_traits from outside Eigen.
 // this macro is really needed because functor_traits must be specialized after it is declared but before it is used...
 #ifdef EIGEN_FUNCTORS_PLUGIN
 #include EIGEN_FUNCTORS_PLUGIN
--- diamond-aligner.orig/src/lib/Eigen/src/Core/util/Constants.h
+++ diamond-aligner/src/lib/Eigen/src/Core/util/Constants.h
@@ -33,7 +33,7 @@
 /** This value means that the cost to evaluate an expression coefficient is either very expensive or
   * cannot be known at compile time.
   *
-  * This value has to be positive to (1) simplify cost computation, and (2) allow to distinguish between a very expensive and very very expensive expressions.
+  * This value has to be positive to (1) simplify cost computation, and (2) allow one to distinguish between a very expensive and very very expensive expressions.
   * It thus must also be large enough to make sure unrolling won't happen and that sub expressions will be evaluated, but not too large to avoid overflow.
   */
 const int HugeCost = 10000;
@@ -153,7 +153,7 @@
   *
   * means the first coefficient packet is guaranteed to be aligned.
   * An expression cannot has the AlignedBit without the PacketAccessBit flag.
-  * In other words, this means we are allow to perform an aligned packet access to the first element regardless
+  * In other words, this means we are allowing one to perform an aligned packet access to the first element regardless
   * of the expression kind:
   * \code
   * expression.packet<Aligned>(0);
--- diamond-aligner.orig/src/lib/Eigen/src/SparseCore/SparseSelfAdjointView.h
+++ diamond-aligner/src/lib/Eigen/src/SparseCore/SparseSelfAdjointView.h
@@ -154,7 +154,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:
