mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 10:35:42 +00:00
Merge topic 'mclarsen/vtk-m-bugfix/explicitCellSet'
ef0b78b9 Fixing explicit cell set bug Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !288
This commit is contained in:
commit
3688153a9f
@ -244,7 +244,7 @@ public:
|
||||
const std::vector<vtkm::Id> &offsets = std::vector<vtkm::Id>() )
|
||||
{
|
||||
|
||||
this->PointToCell.Shapes.Allocate( static_cast<vtkm::UInt8>(cellTypes.size()) );
|
||||
this->PointToCell.Shapes.Allocate( static_cast<vtkm::Id>(cellTypes.size()) );
|
||||
std::copy(cellTypes.begin(), cellTypes.end(),
|
||||
vtkm::cont::ArrayPortalToIteratorBegin(
|
||||
this->PointToCell.Shapes.GetPortalControl()));
|
||||
|
Loading…
Reference in New Issue
Block a user