fix singed integer overflow UB in integer_types and other trivial compiler warnings

libeigen/eigen!2380
This commit is contained in:
Charles Schlosser
2026-04-03 03:36:28 +00:00
parent 60df12437e
commit 5977635d64
6 changed files with 32 additions and 64 deletions

View File

@@ -12,7 +12,6 @@
// wrapper that disables array-oriented access to real and imaginary components
struct TestComplex : public std::complex<float> {
TestComplex() = default;
TestComplex(const TestComplex&) = default;
TestComplex(std::complex<float> x) : std::complex<float>(x){};
TestComplex(float x) : std::complex<float>(x){};
};