mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-09 12:44:11 +01:00
Fixed unsigned int < 0
This commit is contained in:
parent
700803528f
commit
83fa39ee30
@ -314,7 +314,7 @@ trexio_exit_code trexio_hdf5_write_$group$_$group_dset$(const trexio_t* file, co
|
|||||||
uint64_t $group_dset_dim$;
|
uint64_t $group_dset_dim$;
|
||||||
// error handling for rc is added by the generator
|
// error handling for rc is added by the generator
|
||||||
rc = trexio_hdf5_read_$group_dset_dim$(file, &($group_dset_dim$));
|
rc = trexio_hdf5_read_$group_dset_dim$(file, &($group_dset_dim$));
|
||||||
if ($group_dset_dim$ <= 0L) return TREXIO_INVALID_NUM;
|
if ($group_dset_dim$ == 0L) return TREXIO_INVALID_NUM;
|
||||||
|
|
||||||
trexio_hdf5_t* f = (trexio_hdf5_t*) file;
|
trexio_hdf5_t* f = (trexio_hdf5_t*) file;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user