mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
remove gcc13 warning
This commit is contained in:
parent
d907d832a3
commit
9c0b16414b
@ -78,15 +78,17 @@ void TestWithExplicitData()
|
||||
"Wrong point field data");
|
||||
}
|
||||
|
||||
const auto& connectivityArray =
|
||||
output.GetCellSet().AsCellSet<vtkm::cont::CellSetExplicit<>>().GetConnectivityArray(
|
||||
vtkm::TopologyElementTagCell(), vtkm::TopologyElementTagPoint());
|
||||
auto connectivityArrayPortal = connectivityArray.ReadPortal();
|
||||
|
||||
for (vtkm::IdComponent i = 0; i < connectivityArray.GetNumberOfValues(); i++)
|
||||
{
|
||||
VTKM_TEST_ASSERT(test_equal(connectivityArrayPortal.Get(i), expectedConnectivityArray[i]),
|
||||
"Wrong connectivity array value");
|
||||
const auto connectivityArray =
|
||||
output.GetCellSet().AsCellSet<vtkm::cont::CellSetExplicit<>>().GetConnectivityArray(
|
||||
vtkm::TopologyElementTagCell(), vtkm::TopologyElementTagPoint());
|
||||
auto connectivityArrayPortal = connectivityArray.ReadPortal();
|
||||
|
||||
for (vtkm::IdComponent i = 0; i < connectivityArray.GetNumberOfValues(); i++)
|
||||
{
|
||||
VTKM_TEST_ASSERT(test_equal(connectivityArrayPortal.Get(i), expectedConnectivityArray[i]),
|
||||
"Wrong connectivity array value");
|
||||
}
|
||||
}
|
||||
|
||||
auto newCoords = output.GetCoordinateSystem().GetDataAsMultiplexer();
|
||||
|
Loading…
Reference in New Issue
Block a user