From 797c838917e1b591c9529f69fb2be15f29fce02f Mon Sep 17 00:00:00 2001 From: ayenpure Date: Tue, 2 Oct 2018 15:33:36 -0700 Subject: [PATCH] Adding default constructor and removing wrong comment --- vtkm/cont/CellLocatorUniformGrid.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vtkm/cont/CellLocatorUniformGrid.h b/vtkm/cont/CellLocatorUniformGrid.h index 313c95a65..42a89c00a 100644 --- a/vtkm/cont/CellLocatorUniformGrid.h +++ b/vtkm/cont/CellLocatorUniformGrid.h @@ -36,6 +36,9 @@ namespace cont class CellLocatorUniformGrid : public vtkm::cont::CellLocator { public: + VTKM_CONT + CellLocatorUniformGrid() = default; + VTKM_CONT void Build() override { @@ -58,9 +61,6 @@ public: RangeTransform[2] = static_cast(celldims[2]) / static_cast(Bounds.Z.Length()); - // Since we are calculating the cell Id, and the number of cells is - // 1 less than the number of points in each direction, the -1 from dims - // is necessary. PlaneSize = celldims[0] * celldims[1]; RowSize = celldims[0]; }