mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Added to possibility to compile unit tests at maximum warning level.
Silenced (amongst others) many conversion related warnings.
This commit is contained in:
@@ -40,7 +40,7 @@ template <typename T>
|
||||
void take_std( std::complex<T> * dst, int n )
|
||||
{
|
||||
for (int i=0;i<n;++i)
|
||||
dst[i] = std::complex<T>(i,i);
|
||||
dst[i] = std::complex<T>(static_cast<float>(i),static_cast<float>(i));
|
||||
cout << dst[n-1] << endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user