From ef0b78b9ff5ef3b69390eaed0f6debf026f67791 Mon Sep 17 00:00:00 2001 From: Matt Larsen Date: Wed, 2 Dec 2015 21:50:27 -0800 Subject: [PATCH] Fixing explicit cell set bug --- vtkm/cont/CellSetExplicit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtkm/cont/CellSetExplicit.h b/vtkm/cont/CellSetExplicit.h index 54900be56..d1a959476 100644 --- a/vtkm/cont/CellSetExplicit.h +++ b/vtkm/cont/CellSetExplicit.h @@ -244,7 +244,7 @@ public: const std::vector &offsets = std::vector() ) { - this->PointToCell.Shapes.Allocate( static_cast(cellTypes.size()) ); + this->PointToCell.Shapes.Allocate( static_cast(cellTypes.size()) ); std::copy(cellTypes.begin(), cellTypes.end(), vtkm::cont::ArrayPortalToIteratorBegin( this->PointToCell.Shapes.GetPortalControl()));