mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
e567151ce3fcb0c596a80e57f4255c49c4fedea5
The L2 cache size threshold computation used numext::sqrt with a static_cast<RealScalar>, which fails to compile when RealScalar is AnnoyingScalar (a test-only type with multiple conversion constructors). Since this is a pure cache-size computation unrelated to the matrix scalar type, use std::sqrt(double) instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/ or https://libeigen.gitlab.io.
For pull request, bug reports, and feature requests, go to https://gitlab.com/libeigen/eigen.
Languages
C++
85.6%
Fortran
8.9%
CMake
2%
C
1.6%
Cuda
1.2%
Other
0.6%