mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix typos
This commit is contained in:
committed by
Charles Schlosser
parent
fd98cc49f1
commit
c593e9e948
@@ -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.
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user