Commit b6b123e9 authored by Robert Maynard's avatar Robert Maynard Committed by Kitware Robot

Merge topic '32bit_float_warnings'

b922851b Correct rendering warning of a 64bit to 32bit conversion
Acked-by: Kitware Robot's avatarKitware Robot <>
Acked-by: Allison Vacanti's avatarAllison Vacanti <>
Merge-request: !1458
parents c2cde4fa b922851b
......@@ -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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment