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
695dd2a9
Commit
695dd2a9
authored
Feb 09, 2021
by
Praetorius, Simon
Browse files
fix integer comparison warning
parent
847c3e5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
dune/vtk/localfunction.hh
View file @
695dd2a9
...
@@ -101,7 +101,7 @@ namespace Dune
...
@@ -101,7 +101,7 @@ namespace Dune
double
evaluate
(
int
c
,
LocalCoordinate
const
&
xi
)
const
double
evaluate
(
int
c
,
LocalCoordinate
const
&
xi
)
const
{
{
assert
(
bool
(
localFct_
));
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
)
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