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:
Robert Maynard 2015-12-11 15:52:49 -05:00 committed by Kitware Robot
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()));