fix cast warning

This commit is contained in:
Hank Childs 2019-09-29 12:03:15 -07:00
parent 8a175e0455
commit 9b46a0f026

@ -168,11 +168,11 @@ protected:
break;
case MetricTagType::RELATIVE_SIZE_SQUARED:
metricValue = vtkm::worklet::cellmetrics::CellRelativeSizeSquaredMetric<OutType>(
numPts, pts, average, tag, *this);
numPts, pts, static_cast<OutType>(average), tag, *this);
break;
case MetricTagType::SHAPE_AND_SIZE:
metricValue = vtkm::worklet::cellmetrics::CellShapeAndSizeMetric<OutType>(
numPts, pts, average, tag, *this);
numPts, pts, static_cast<OutType>(average), tag, *this);
break;
case MetricTagType::SCALED_JACOBIAN:
metricValue =