tutorial example fixes to resolve warnings

This commit is contained in:
Tushar Athawale 2022-02-14 13:15:55 -05:00
parent 8e57362a23
commit 0ce7d92589

@ -94,16 +94,16 @@ struct EdgeIndicesWorklet : vtkm::worklet::WorkletReduceByKey
vtkm::exec::CellEdgeLocalIndex(numPointsInCell, 0, edgeIndex, cellShape, pointInCellIndex0);
if (error != vtkm::ErrorCode::Success)
{
this->RaiseError(vtkm::ErrorString(error);
return;
this->RaiseError(vtkm::ErrorString(error));
return;
}
vtkm::IdComponent pointInCellIndex1;
error =
vtkm::exec::CellEdgeLocalIndex(numPointsInCell, 1, edgeIndex, cellShape, pointInCellIndex1);
if (error != vtkm::ErrorCode::Success)
{
this->RaiseError(vtkm::ErrorString(error);
return;
this->RaiseError(vtkm::ErrorString(error));
return;
}
auto globalPointIndicesForCell = cellSet.GetIndices(originCells[0]);