Fixing problem with uniform cell locator 3D

This commit is contained in:
Abhishek Yenpure 2019-08-06 11:10:21 -06:00
parent 4e7b59c65e
commit caecbb3760

@ -47,7 +47,7 @@ void CellLocatorUniformGrid::Build()
this->RangeTransform[1] = static_cast<vtkm::FloatDefault>(this->CellDims[1]) /
static_cast<vtkm::FloatDefault>(this->Bounds.Y.Length());
}
else if (cellSet.IsSameType(Structured2DType()))
else if (cellSet.IsSameType(Structured3DType()))
{
this->Is3D = true;
this->Bounds = coords.GetBounds();