mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Simplified execution object creation for atomic array
simplified the creation of the execution object in the transport tag of the atomic array.
This commit is contained in:
parent
0bd197af96
commit
96ae94420d
@ -65,7 +65,7 @@ struct Transport<vtkm::cont::arg::TransportTagAtomicArray,
|
||||
// Note: we ignore the size of the domain because the randomly accessed
|
||||
// array might not have the same size depending on how the user is using
|
||||
// the array.
|
||||
ExecType obj = ExecType(array);
|
||||
ExecType obj(array);
|
||||
return obj.PrepareForExecution(Device());
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user