Commit b922851b authored by Robert Maynard's avatar Robert Maynard

Correct rendering warning of a 64bit to 32bit conversion

parent 6fa6b6e8
......@@ -52,7 +52,7 @@ public:
VTKM_EXEC inline void operator()(const VecType& pos, OutType& out) const
{
VecType tmp = eye_pos - pos;
out = vtkm::Sqrt(vtkm::dot(tmp, tmp));
out = static_cast<OutType>(vtkm::Sqrt(vtkm::dot(tmp, tmp)));
}
const vtkm::Vec<vtkm::Float32, 3> eye_pos;
......
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