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
1f724155
Commit
1f724155
authored
May 23, 2011
by
Thomas Jahns
🤸
Browse files
Do not compare number of allocated variables in variable list.
* It's insignificant for vlist identity.
parent
d3b59e42
Changes
1
Show whitespace changes
Inline
Side-by-side
src/vlist.c
View file @
1f724155
...
@@ -43,7 +43,6 @@ vlist_compare(vlist_t *a, vlist_t *b)
...
@@ -43,7 +43,6 @@ vlist_compare(vlist_t *a, vlist_t *b)
diff
=
(
a
->
nvars
!=
b
->
nvars
)
||
(
a
->
ngrids
!=
b
->
ngrids
)
diff
=
(
a
->
nvars
!=
b
->
nvars
)
||
(
a
->
ngrids
!=
b
->
ngrids
)
||
(
a
->
nzaxis
!=
b
->
nzaxis
)
||
(
a
->
instID
!=
b
->
instID
)
||
(
a
->
nzaxis
!=
b
->
nzaxis
)
||
(
a
->
instID
!=
b
->
instID
)
||
(
a
->
modelID
!=
b
->
modelID
)
||
(
a
->
tableID
!=
b
->
tableID
)
||
(
a
->
modelID
!=
b
->
modelID
)
||
(
a
->
tableID
!=
b
->
tableID
)
||
(
a
->
varsAllocated
!=
b
->
varsAllocated
)
||
(
a
->
ntsteps
!=
b
->
ntsteps
);
||
(
a
->
ntsteps
!=
b
->
ntsteps
);
return
diff
;
return
diff
;
}
}
...
...
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