Make sure the vtkm::Magnitude can be used from worklets.
This commit is contained in:
parent
5ab136c5c0
commit
7db2df8ed9
@ -107,6 +107,7 @@ MagnitudeTemplate(const T &x, vtkm::TypeTraitsVectorTag)
|
||||
/// actually plan to divide by the magnitude.
|
||||
///
|
||||
template<typename T>
|
||||
VTKM_EXEC_CONT_EXPORT
|
||||
typename vtkm::VecTraits<T>::ComponentType
|
||||
Magnitude(const T &x)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user