mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 10:35:42 +00:00
TBB SortByKey works now when the key is a ArrayHandleZip.
The issue was that the temporary index array storage container was the same as the input ArrayHandleZip which is not correct.
This commit is contained in:
parent
c9751b0d40
commit
c7756c78bb
@ -229,7 +229,7 @@ public:
|
||||
/// Move value indexes when sorting and reorder the value array at last
|
||||
|
||||
typedef vtkm::cont::ArrayHandle<U,StorageU> ValueType;
|
||||
typedef vtkm::cont::ArrayHandle<vtkm::Id,StorageU> IndexType;
|
||||
typedef vtkm::cont::ArrayHandle<vtkm::Id> IndexType;
|
||||
typedef vtkm::cont::ArrayHandleZip<KeyType,IndexType> ZipHandleType;
|
||||
|
||||
IndexType indexArray;
|
||||
|
Loading…
Reference in New Issue
Block a user