Fix ~40 typos found by codespell across the codebase

libeigen/eigen!2181

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
Rasmus Munk Larsen
2026-02-21 21:29:50 -08:00
parent f52ad04bbb
commit 44c6132163
29 changed files with 43 additions and 50 deletions

View File

@@ -40,7 +40,7 @@ EIGEN_DECLARE_TEST(constexpr) {
VERIFY_IS_EQUAL(vec.size(), 3);
static_assert(vec.coeff(0, 1) == 2);
// Check assignment. A wrapper struct is used to avoid copy ellision.
// Check assignment. A wrapper struct is used to avoid copy elision.
constexpr ConstexprTest<double, 2> obj1(Matrix2d({{1, 2}, {3, 4}}));
VERIFY_IS_EQUAL(obj1.A.size(), 4);
static_assert(obj1.A(0, 0) == 1);

View File

@@ -438,7 +438,7 @@ EIGEN_DECLARE_TEST(gpu_basic) {
// numeric_limits
CALL_SUBTEST(test_with_infs_nans(numeric_limits_test<Vector3f>(), 1, in, out));
// These tests require dynamic-sized matrix multiplcation, which isn't currently
// These tests require dynamic-sized matrix multiplication, which isn't currently
// supported on GPU.
// CALL_SUBTEST( run_and_compare_to_gpu(eigenvalues<Matrix4f>(), nthreads, in, out) );

View File

@@ -422,7 +422,7 @@ void check_indexed_view() {
A(last, last) = 1;
// check weird non-const, non-lvalue scenarios
{
// in these scenarios, the objects are not declared 'const', and the compiler will atttempt to use the non-const
// in these scenarios, the objects are not declared 'const', and the compiler will attempt to use the non-const
// overloads without intervention
// non-const map to a const object

View File

@@ -1022,7 +1022,7 @@ void packetmath_real() {
}
if (PacketTraits::HasTanh) {
// NOTE this test migh fail with GCC prior to 6.3, see MathFunctionsImpl.h for details.
// NOTE this test might fail with GCC prior to 6.3, see MathFunctionsImpl.h for details.
data1[0] = NumTraits<Scalar>::quiet_NaN();
test::packet_helper<internal::packet_traits<Scalar>::HasTanh, Packet> h;
h.store(data2, internal::ptanh(h.load(data1)));
@@ -1580,7 +1580,7 @@ struct exp_complex_test_impl {
template <typename Scalar, typename Packet>
struct exp_complex_test_impl<Scalar, Packet, false> {
typedef typename Scalar::value_type RealScalar;
static void run(Scalar*, Scalar*, Scalar*, int) {};
static void run(Scalar*, Scalar*, Scalar*, int){};
};
template <typename Scalar, typename Packet>