Skip to content
Snippets Groups Projects
Commit 8f2d0024 authored by Dave Pugmire's avatar Dave Pugmire Committed by Kitware Robot
Browse files

Merge topic 'fix_warnings_from_small_step_fix'


6f8d1466 Fixes for compiler warnings.

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Acked-by: default avatarKenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2547
parents bde0672a 6f8d1466
No related branches found
No related tags found
2 merge requests!2615Draft: DONTMERGE ME: TEST FOR 1.7.0-rc1 is our 9th official release of VTK-m.,!2547Fixes for compiler warnings.
Pipeline #240932 failed
......@@ -631,12 +631,12 @@ void TestStreamlineFilters()
//ARMWind corner case of particle near boundary.
std::string amrWindFile =
vtkm::cont::testing::Testing::DataPath("rectilinear/amr_wind_flowfield.vtk");
vtkm::FloatDefault amrWindStep = 0.001;
vtkm::FloatDefault amrWindStep = 0.001f;
std::vector<vtkm::Vec3f> amrWindPts, amrWindEndPts;
amrWindPts.push_back(
vtkm::Vec3f(0.053217993470017745, 0.034506499099396459, 0.057097713925011492));
amrWindEndPts.push_back(vtkm::Vec3f(0.05712112784, 0.03450008854, 0.02076501213));
vtkm::Vec3f(0.053217993470017745f, 0.034506499099396459f, 0.057097713925011492f));
amrWindEndPts.push_back(vtkm::Vec3f(0.05712112784f, 0.03450008854f, 0.02076501213f));
for (auto useSL : flags)
TestStreamlineFile(amrWindFile, amrWindPts, amrWindStep, 10000, amrWindEndPts, useSL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment