Resolving compiler warnings

This commit is contained in:
Abhishek Yenpure 2019-08-02 09:40:54 -06:00
parent d2ad29412b
commit f30a7ac94c
2 changed files with 8 additions and 5 deletions

@ -67,10 +67,13 @@ public:
coords.GetPortalConstControl().GetSecondPortal().Get(PointDimensions[1] - 1);
if (dimensions == 2)
return;
this->AxisPortals[2] = Coords.GetThirdPortal();
this->MinPoint[2] = coords.GetPortalConstControl().GetThirdPortal().Get(0);
this->MaxPoint[2] = coords.GetPortalConstControl().GetThirdPortal().Get(PointDimensions[2] - 1);
else
{
this->AxisPortals[2] = Coords.GetThirdPortal();
this->MinPoint[2] = coords.GetPortalConstControl().GetThirdPortal().Get(0);
this->MaxPoint[2] =
coords.GetPortalConstControl().GetThirdPortal().Get(PointDimensions[2] - 1);
}
}
VTKM_EXEC_CONT virtual ~CellLocatorRectilinearGrid() noexcept

@ -86,7 +86,7 @@ private:
protected:
ScalarType StepLength;
ScalarType Tolerance = std::numeric_limits<double>::epsilon() * 100.0;
ScalarType Tolerance = std::numeric_limits<ScalarType>::epsilon() * 100.0;
VTKM_CONT virtual void PrepareForExecutionImpl(
vtkm::cont::DeviceAdapterId device,