mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 18:45:43 +00:00
Fix Field constructors
This commit is contained in:
parent
e6fa5fd4b9
commit
53167f076a
@ -161,7 +161,7 @@ public:
|
||||
const ExecutionType PrepareForExecution(vtkm::cont::DeviceAdapterId device,
|
||||
vtkm::cont::Token& token) const
|
||||
{
|
||||
return ExecutionType(this->FieldValues, device, token);
|
||||
return ExecutionType(this->FieldValues, this->Assoc, device, token);
|
||||
}
|
||||
|
||||
private:
|
||||
@ -201,7 +201,7 @@ public:
|
||||
const ExecutionType PrepareForExecution(vtkm::cont::DeviceAdapterId device,
|
||||
vtkm::cont::Token& token) const
|
||||
{
|
||||
return ExecutionType(this->ElectricField, this->MagneticField, device, token);
|
||||
return ExecutionType(this->ElectricField, this->MagneticField, this->Assoc, device, token);
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user