Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
dune-vtk
Commits
5d39831e
Commit
5d39831e
authored
Feb 09, 2021
by
Praetorius, Simon
Browse files
Merge branch 'issue/fix_warning' into 'master'
fix integer comparison warning See merge request extensions/dune-vtk!22
parents
847c3e5d
695dd2a9
Changes
1
Show whitespace changes
Inline
Side-by-side
dune/vtk/localfunction.hh
View file @
5d39831e
...
...
@@ -101,7 +101,7 @@ namespace Dune
double
evaluate
(
int
c
,
LocalCoordinate
const
&
xi
)
const
{
assert
(
bool
(
localFct_
));
return
c
<
components_
.
size
()
?
localFct_
->
evaluate
(
components_
[
c
],
xi
)
:
0.0
;
return
c
<
int
(
components_
.
size
()
)
?
localFct_
->
evaluate
(
components_
[
c
],
xi
)
:
0.0
;
}
void
setComponents
(
std
::
vector
<
int
>
components
)
...
...
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