Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sudhanshu Sane
VTK-m
Commits
7db2df8e
Commit
7db2df8e
authored
Aug 31, 2015
by
Robert Maynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure the vtkm::Magnitude can be used from worklets.
parent
5ab136c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vtkm/VectorAnalysis.h
vtkm/VectorAnalysis.h
+1
-0
No files found.
vtkm/VectorAnalysis.h
View file @
7db2df8e
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment