Fix uninitialized variable warning on gcc-10.3
This commit is contained in:
parent
4f3ff257fa
commit
25c14a7ea9
@ -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