mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-08 03:18:58 +00:00
Response to code review.
This commit is contained in:
parent
4e7d85094e
commit
b1c0f46ac0
@ -193,10 +193,7 @@ VTKM_CONT void CellSetExtrude::GetIndices(vtkm::Id index,
|
||||
VTKM_CONT void CellSetExtrude::GetIndices(vtkm::Id index,
|
||||
vtkm::cont::ArrayHandle<vtkm::Id>& ids) const
|
||||
{
|
||||
if (ids.GetNumberOfValues() < 6)
|
||||
{
|
||||
ids.Allocate(6);
|
||||
}
|
||||
ids.Allocate(6);
|
||||
auto outIdPortal = ids.WritePortal();
|
||||
vtkm::cont::Token token;
|
||||
auto conn = this->PrepareForInput(vtkm::cont::DeviceAdapterTagSerial{},
|
||||
|
Loading…
Reference in New Issue
Block a user