mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-20 02:55:47 +00:00
Remove warning about 64bit to 32bit data loss in ExternalFaces.
Index table into array should be done with type vtkm::IdComponent not vtkm::Id
This commit is contained in:
parent
c8d19d1f3f
commit
88a5184814
@ -189,7 +189,7 @@ namespace worklet
|
||||
{
|
||||
if (cellType == vtkm::VTKM_TETRA)
|
||||
{
|
||||
vtkm::Id faceIdTable[12] = {0,1,2,0,1,3,0,2,3,1,2,3};
|
||||
vtkm::IdComponent faceIdTable[12] = {0,1,2,0,1,3,0,2,3,1,2,3};
|
||||
|
||||
//Assign cell points/nodes to this face
|
||||
vtkm::Id faceP1 = cellNodeIds[faceIdTable[cellFaceId*N]];
|
||||
|
Loading…
Reference in New Issue
Block a user