mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Fix warning.
This commit is contained in:
parent
7da30d2540
commit
cad7b593d2
@ -116,8 +116,8 @@ void TestVTKCompoundWrite()
|
||||
{
|
||||
for (vtkm::Id x = 0; x < dims[1]; ++x)
|
||||
{
|
||||
double s = s_min + y * ds;
|
||||
double t = t_min + x * dt;
|
||||
double s = s_min + static_cast<vtkm::Float64>(y) * ds;
|
||||
double t = t_min + static_cast<vtkm::Float64>(x) * dt;
|
||||
// This function is not meaningful:
|
||||
auto z = std::exp(std::complex<double>(s, t));
|
||||
points[idx] = { std::sqrt(std::norm(z)), std::arg(z) };
|
||||
|
Loading…
Reference in New Issue
Block a user