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
e0f496ce
Commit
e0f496ce
authored
Mar 31, 2016
by
Robert Maynard
Browse files
Fix warnings about unreachable break statement in ParametricCoordinates.
parent
0c36aef5
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtkm/exec/ParametricCoordinates.h
View file @
e0f496ce
...
...
@@ -664,17 +664,20 @@ WorldCoordinatesToParametricCoordinates(
vtkm
::
CellShapeTagGeneric
shape
,
const
vtkm
::
exec
::
FunctorBase
&
worklet
)
{
typename
WorldCoordVector
::
ComponentType
result
;
switch
(
shape
.
Id
)
{
vtkmGenericCellShapeMacro
(
re
turn
WorldCoordinatesToParametricCoordinates
(
pointWCoords
,
wcoords
,
CellShapeTag
(),
worklet
));
re
sult
=
WorldCoordinatesToParametricCoordinates
(
pointWCoords
,
wcoords
,
CellShapeTag
(),
worklet
));
default:
worklet
.
RaiseError
(
"Unknown cell shape sent to world 2 parametric."
);
return
typename
WorldCoordVector
::
ComponentType
();
}
return
result
;
}
template
<
typename
WorldCoordVector
>
...
...
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