mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 02:25:42 +00:00
Fill input to test of array extract from stride array
I was getting some floating point exceptions which may have come from reading garbage as floating point values.
This commit is contained in:
parent
726bb09108
commit
447b8e711e
@ -166,6 +166,7 @@ void DoTest()
|
||||
constexpr vtkm::Id STRIDE = 7;
|
||||
vtkm::cont::ArrayHandleBasic<vtkm::Vec3f> originalArray;
|
||||
originalArray.Allocate(ARRAY_SIZE * STRIDE);
|
||||
SetPortal(originalArray.WritePortal());
|
||||
for (vtkm::Id offset = 0; offset < STRIDE; ++offset)
|
||||
{
|
||||
vtkm::cont::ArrayHandleStride<vtkm::Vec3f> strideArray(
|
||||
|
Loading…
Reference in New Issue
Block a user