mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-18 14:34:17 +08:00
Fix Build error on MSVC
This commit is contained in:
parent
72bfed5e20
commit
82c3ff3784
@ -32,8 +32,8 @@ template<typename T>
|
||||
void test2dHyperbolicRotation(double tol)
|
||||
{
|
||||
Matrix<std::complex<T>,2,2> A, B, C;
|
||||
T angle, ch = std::cosh(1);
|
||||
std::complex<T> ish(0, std::sinh(1));
|
||||
T angle, ch = std::cosh((T)1);
|
||||
std::complex<T> ish(0, std::sinh((T)1));
|
||||
|
||||
A << ch, ish, -ish, ch;
|
||||
for (int i = 0; i <= 20; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user