Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
66b601f6
Commit
66b601f6
authored
Mar 25, 2019
by
Uwe Schulzweida
Browse files
gridCompare: check position in branch coord_compare.
parent
6ceed04f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
66b601f6
...
...
@@ -2391,6 +2391,7 @@ bool gridCompare(int gridID, const grid_t *grid, bool coord_compare)
if
(
coord_compare
)
{
differ
=
grid
->
nvertex
!=
gridRef
->
nvertex
||
(
grid
->
number
>
0
&&
grid
->
position
!=
gridRef
->
position
);
||
gridRef
->
vtable
->
compareXYAO
((
grid_t
*
)
gridRef
,
(
grid_t
*
)
grid
);
}
else
...
...
@@ -2403,9 +2404,7 @@ bool gridCompare(int gridID, const grid_t *grid, bool coord_compare)
&&
(
nvertexB
=
gridRef
->
nvertex
)
&&
(
nvertexA
!=
nvertexB
)
)
||
(
numberA
=
grid
->
number
,
numberB
=
gridRef
->
number
,
(
(
numberA
)
&&
numberB
&&
(
numberA
!=
numberB
)
)
(
numberA
&&
numberB
&&
(
numberA
!=
numberB
)
)
||
(
(
numberA
&&
numberB
)
&&
(
grid
->
position
)
!=
(
gridRef
->
position
)
)
);
}
...
...
Write
Preview
Markdown
is supported
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