Merge topic 'NAThompson-master-patch-56961'
25c14a7ea Fix uninitialized variable warning on gcc-10.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Nickolas Davis <nadavi@sandia.gov> Merge-request: !2482
This commit is contained in:
commit
3c8e160229
@ -49,7 +49,7 @@ struct BoundingIntervalHierarchyTester : public vtkm::worklet::WorkletMapField
|
||||
const vtkm::Id expectedId) const
|
||||
{
|
||||
vtkm::Vec3f parametric;
|
||||
vtkm::Id cellId;
|
||||
vtkm::Id cellId = -1;
|
||||
bih.FindCell(point, cellId, parametric);
|
||||
return (1 - static_cast<vtkm::IdComponent>(expectedId == cellId));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user