Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Weber
load_leveller
Commits
1e303dec
Commit
1e303dec
authored
Apr 25, 2019
by
Lukas Weber
Browse files
add signed char hdf5 type
parent
0d51d8fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dump.h
View file @
1e303dec
...
...
@@ -121,8 +121,8 @@ public:
template
<
typename
T
>
constexpr
hid_t
iodump
::
h5_datatype
()
{
if
(
typeid
(
T
)
==
typeid
(
char
))
return
H5T_NATIVE_CHAR
;
if
(
typeid
(
T
)
==
typeid
(
signed
char
))
return
H5T_NATIVE_
S
CHAR
;
if
(
typeid
(
T
)
==
typeid
(
int
))
return
H5T_NATIVE_INT
;
if
(
typeid
(
T
)
==
typeid
(
short
))
...
...
@@ -131,6 +131,8 @@ constexpr hid_t iodump::h5_datatype() {
return
H5T_NATIVE_LONG
;
if
(
typeid
(
T
)
==
typeid
(
long
long
))
return
H5T_NATIVE_LLONG
;
if
(
typeid
(
T
)
==
typeid
(
unsigned
char
))
return
H5T_NATIVE_UCHAR
;
if
(
typeid
(
T
)
==
typeid
(
unsigned
int
))
return
H5T_NATIVE_UINT
;
if
(
typeid
(
T
)
==
typeid
(
unsigned
short
))
...
...
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