Merge topic 'ollielo-master-patch-38553'

197a9b3ff fixed an oversight on the correct way to get CoordinateSystem.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@acm.org>
Merge-request: !2446
This commit is contained in:
Li-Ta Lo 2021-03-23 16:31:29 +00:00 committed by Kitware Robot
commit 62f6799f37

@ -104,8 +104,7 @@ inline VTKM_CONT vtkm::cont::DataSet ParticleDensityCloudInCell::DoExecute(
locator.SetCoordinates(uniform.GetCoordinateSystem());
locator.Update();
vtkm::cont::ArrayHandle<vtkm::Vec3f> coords;
dataSet.GetCoordinateSystem().GetData().AsArrayHandle<vtkm::Vec3f>(coords);
auto coords = dataSet.GetCoordinateSystem().GetDataAsMultiplexer();
vtkm::cont::ArrayHandle<T> density;
vtkm::cont::ArrayCopy(vtkm::cont::ArrayHandleConstant<T>(0, uniform.GetNumberOfPoints()),