Commit d0fc332c authored by Robert Maynard's avatar Robert Maynard

Correct conversion warnings in the streamline filter.

The strealine filter was incorrectly converting all inputs to
vtkm::FloatDefault which can cause a warning when FloatDefault is double
parent 269b940f
......@@ -95,7 +95,7 @@ inline VTKM_CONT vtkm::cont::DataSet Streamline::DoExecute(
//RGEvalType eval(input.GetCoordinateSystem(), input.GetCellSet(0), field);
RGEvalType eval(coords, cells, field);
RK4RGType rk4(eval, static_cast<vtkm::FloatDefault>(this->StepSize));
RK4RGType rk4(eval, static_cast<T>(this->StepSize));
vtkm::worklet::Streamline streamline;
vtkm::worklet::StreamlineResult<T> res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment