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:
Matthew Letter 2018-07-11 10:58:51 -06:00
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());
}
};