Fix typos

This commit is contained in:
Mike Taves
2024-08-02 00:06:24 +00:00
committed by Charles Schlosser
parent fd98cc49f1
commit c593e9e948
26 changed files with 38 additions and 38 deletions

View File

@@ -153,7 +153,7 @@ void block(const MatrixType& m) {
VERIFY_IS_EQUAL(numext::real(ones.col(c1).dot(ones.col(c2))), RealScalar(rows));
VERIFY_IS_EQUAL(numext::real(ones.row(r1).dot(ones.row(r2))), RealScalar(cols));
// check that linear acccessors works on blocks
// check that linear accessors works on blocks
m1 = m1_copy;
// now test some block-inside-of-block.

View File

@@ -44,7 +44,7 @@ bool find_pivot(typename MatrixType::Scalar tol, MatrixType& diffs, Index col =
/* Check that two column vectors are approximately equal up to permutations.
* Initially, this method checked that the k-th power sums are equal for all k = 1, ..., vec1.rows(),
* however this strategy is numerically inacurate because of numerical cancellation issues.
* however this strategy is numerically inaccurate because of numerical cancellation issues.
*/
template <typename VectorType>
void verify_is_approx_upto_permutation(const VectorType& vec1, const VectorType& vec2) {