Mercurial > hg > octave-terminal
changeset 11177:30bcd1aa9f09
Trivial patch to previous change
author | David Bateman <dbateman@free.fr> |
---|---|
date | Tue, 02 Nov 2010 16:46:08 +0100 |
parents | 2271261f088a |
children | c08e9d4e54c7 |
files | src/ls-hdf5.cc |
diffstat | 1 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ls-hdf5.cc +++ b/src/ls-hdf5.cc @@ -671,11 +671,11 @@ if (as_id >= 0) { #if HAVE_HDF5_18 - hid_t a_id = H5Acreate (loc_id, attr_name, H5T_NATIVE_UCHAR, + hid_t a_id = H5Acreate (loc_id, attr_name, type_id, as_id, H5P_DEFAULT, H5P_DEFAULT); #else hid_t a_id = H5Acreate (loc_id, attr_name, - H5T_NATIVE_UCHAR, as_id, H5P_DEFAULT); + type_id, as_id, H5P_DEFAULT); #endif if (a_id >= 0) { @@ -694,12 +694,6 @@ return retval; } - - - - - - // Save an empty matrix, if needed. Returns // > 0 Saved empty matrix // = 0 Not an empty matrix; did nothing