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
b51c57cf
Commit
b51c57cf
authored
Nov 02, 2017
by
Uwe Schulzweida
Browse files
compareXYvals2: compare the present of bounds.
parent
e56c9435
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
b51c57cf
...
...
@@ -2185,7 +2185,9 @@ bool compareXYvals2(grid_t *gridRef, grid_t *gridTest)
{
size_t
gridsize
=
gridTest
->
size
;
bool
differ
=
((
gridTest
->
x
.
vals
==
NULL
)
^
(
gridRef
->
x
.
vals
==
NULL
))
||
((
gridTest
->
y
.
vals
==
NULL
)
^
(
gridRef
->
y
.
vals
==
NULL
));
||
((
gridTest
->
y
.
vals
==
NULL
)
^
(
gridRef
->
y
.
vals
==
NULL
))
||
((
gridTest
->
x
.
bounds
==
NULL
)
^
(
gridRef
->
x
.
bounds
==
NULL
))
||
((
gridTest
->
y
.
bounds
==
NULL
)
^
(
gridRef
->
y
.
bounds
==
NULL
));
typedef
double
(
*
inqVal
)(
grid_t
*
grid
,
size_t
index
);
inqVal
inqXValRef
=
gridRef
->
vtable
->
inqXVal
,
...
...
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