Commit 7db2df8e authored by Robert Maynard's avatar Robert Maynard

Make sure the vtkm::Magnitude can be used from worklets.

parent 5ab136c5
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment