Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick Jaap
dune-istl
Commits
3dd0e2b3
Commit
3dd0e2b3
authored
3 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Remove signed-unsigned comparison on repartition.hh
to get rid of a compiler warning.
parent
b0a1b9c7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/istl/repartition.hh
+2
-2
2 additions, 2 deletions
dune/istl/repartition.hh
with
2 additions
and
2 deletions
dune/istl/repartition.hh
+
2
−
2
View file @
3dd0e2b3
...
...
@@ -787,12 +787,12 @@ namespace Dune
using
std
::
signbit
;
for
(
Metis
::
idx_t
vtx
=
0
;
vtx
<
(
Metis
::
idx_t
)
noVtx
;
++
vtx
)
{
if
(
xadj
[
vtx
]
>
noEdges
||
signbit
(
xadj
[
vtx
]))
{
if
(
static_cast
<
S
>
(
xadj
[
vtx
]
)
>
noEdges
||
signbit
(
xadj
[
vtx
]))
{
std
::
cerr
<<
"Check graph: xadj["
<<
vtx
<<
"]="
<<
xadj
[
vtx
]
<<
" (>"
<<
noEdges
<<
") out of range!"
<<
std
::
endl
;
correct
=
false
;
}
if
(
xadj
[
vtx
+
1
]
>
noEdges
||
signbit
(
xadj
[
vtx
+
1
]))
{
if
(
static_cast
<
S
>
(
xadj
[
vtx
+
1
]
)
>
noEdges
||
signbit
(
xadj
[
vtx
+
1
]))
{
std
::
cerr
<<
"Check graph: xadj["
<<
vtx
+
1
<<
"]="
<<
xadj
[
vtx
+
1
]
<<
" (>"
<<
noEdges
<<
") out of range!"
<<
std
::
endl
;
correct
=
false
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment