mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Resolving compiler warnings
This commit is contained in:
parent
d2ad29412b
commit
f30a7ac94c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user