Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libdispatch/dvar.c
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ nc_def_var_chunking(int ncid, int varid, int storage, const size_t *chunksizesp)
/**
Define endianness of a variable.

With this function the endianness (i.e. order of bits in integers) can
With this function the endianness (i.e. order of bytes in integers) can
be changed on a per-variable basis. By default, the endianness is the
same as the default endianness of the platform. But with
nc_def_var_endianness the endianness can be explicitly set for a
Expand Down
1 change: 1 addition & 0 deletions nc_test4/tst_h5_endians.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ int main() {
if ((retval = nc_put_var(ncid,be_int_varid,idata_in)))
return retval;
if ((retval = nc_get_var(ncid,be_int_varid,idata_be_out)))
return retval;
for(failed=0,i=0;i<NDIM;i++) {if(idata_in[i] != idata_be_out[i]) {printf("failed\n"); failures++; failed++; break;}}
if(!failed) printf("passed\n");

Expand Down
Loading