fix compiler warnings.

This commit is contained in:
Dave Pugmire 2019-01-31 09:41:29 -05:00
parent 96460fc5ef
commit 5f453ca504

@ -91,7 +91,7 @@ inline VTKM_CONT vtkm::cont::DataSet Streamline::DoExecute(
using RK4Type = vtkm::worklet::particleadvection::RK4Integrator<GridEvalType>;
GridEvalType eval(coords, cells, field);
RK4Type rk4(eval, static_cast<T>(this->StepSize));
RK4Type rk4(eval, static_cast<vtkm::worklet::particleadvection::ScalarType>(this->StepSize));
vtkm::worklet::Streamline streamline;
vtkm::worklet::StreamlineResult res;