fix cast warning
This commit is contained in:
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 =
|
||||
|
Loading…
Reference in New Issue
Block a user