mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix singed integer overflow UB in integer_types and other trivial compiler warnings
libeigen/eigen!2380
This commit is contained in:
@@ -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){};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user