Mercurial > hg > octave-lyh
changeset 6718:509469a21cde
[project @ 2007-06-13 21:16:59 by jwe]
author | jwe |
---|---|
date | Wed, 13 Jun 2007 21:17:39 +0000 |
parents | b319df52ba87 |
children | 30e1320bb0ee |
files | configure.in src/ov-bool-mat.cc src/ov-bool-sparse.cc |
diffstat | 3 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ EXTERN_CXXFLAGS="$CXXFLAGS" AC_INIT -AC_REVISION($Revision: 1.565 $) +AC_REVISION($Revision: 1.566 $) AC_PREREQ(2.57) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -1144,6 +1144,7 @@ SH_LDFLAGS="-shared -g" NO_OCT_FILE_STRIP=true library_path_var=PATH + NO_OCT_FILE_STRIP=true ## Extra compilation flags. CRUFT_DLL_DEFS="-DCRUFT_DLL" OCTAVE_DLL_DEFS="-DOCTAVE_DLL"
--- a/src/ov-bool-mat.cc +++ b/src/ov-bool-mat.cc @@ -468,8 +468,7 @@ octave_idx_type nel = dv.numel (); OCTAVE_LOCAL_BUFFER (hbool_t, htmp, nel); - if (H5Dread (data_hid, H5T_NATIVE_HBOOL, H5S_ALL, H5S_ALL, - H5P_DEFAULT, &htmp[0]) >= 0) + if (H5Dread (data_hid, H5T_NATIVE_HBOOL, H5S_ALL, H5S_ALL, H5P_DEFAULT, htmp) >= 0) { retval = true;
--- a/src/ov-bool-sparse.cc +++ b/src/ov-bool-sparse.cc @@ -485,7 +485,7 @@ htmp[i] = m.xdata(i); retval = H5Dwrite (data_hid, H5T_NATIVE_HBOOL, H5S_ALL, H5S_ALL, - H5P_DEFAULT, &htmp[0]) >= 0; + H5P_DEFAULT, htmp) >= 0; H5Dclose (data_hid); H5Sclose (space_hid); H5Gclose (group_hid); @@ -677,7 +677,7 @@ std::vector<hbool_t> htmp (nz); #endif bool retval = false; - if (H5Dread (data_hid, H5T_NATIVE_HBOOL, H5S_ALL, H5S_ALL, H5P_DEFAULT, &htmp[0]) >= 0) + if (H5Dread (data_hid, H5T_NATIVE_HBOOL, H5S_ALL, H5S_ALL, H5P_DEFAULT, htmp) >= 0) { retval = true;