Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Todd Kordenbrock
VTK-m
Commits
779bd587
Commit
779bd587
authored
Apr 07, 2016
by
Robert Maynard
Browse files
Bug: CellAverage output storage type can be different than the input.
parent
c0bd0a67
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtkm/filter/CellAverage.hxx
View file @
779bd587
...
...
@@ -50,7 +50,7 @@ vtkm::filter::FieldResult CellAverage::DoExecute(const vtkm::cont::DataSet &inpu
//todo: we need to ask the policy what storage type we should be using
//If the input is implicit, we should know what to fall back to
vtkm
::
cont
::
ArrayHandle
<
T
>
outArray
=
field
;
vtkm
::
cont
::
ArrayHandle
<
T
>
outArray
;
vtkm
::
worklet
::
DispatcherMapTopology
<
vtkm
::
worklet
::
CellAverage
,
DeviceAdapter
>
dispatcher
(
this
->
Worklet
);
...
...
Write
Preview
Supports
Markdown
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