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

Merge topic '32bit_float_warnings'


 Correct rendering warning of a 64bit to 32bit conversion

Acked-by: default avatarKitware Robot <>
Acked-by: default 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;
Supports Markdown
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