Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
52a514dd
Commit
52a514dd
authored
Oct 09, 2017
by
Peter W. Draper
Browse files
Fix signed comparison issue
parent
f8efb3a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/parallel_io.c
View file @
52a514dd
...
...
@@ -347,7 +347,7 @@ void writeArray(struct engine* e, hid_t grp, char* fileName, FILE* xmfFile,
}
/* Make sure the chunks are not larger than the dataset */
if
(
chunk_shape
[
0
]
>
N_total
)
chunk_shape
[
0
]
=
N_total
;
if
(
chunk_shape
[
0
]
>
(
hsize_t
)
N_total
)
chunk_shape
[
0
]
=
N_total
;
/* Create the space in the file */
hid_t
h_filespace
=
H5Screate
(
H5S_SIMPLE
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment