Skip to content
Merged
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
8 changes: 5 additions & 3 deletions examples/testhdf5.c
Original file line number Diff line number Diff line change
Expand Up @@ -1121,11 +1121,13 @@ static testResult_t test_H5Dinsert
TEST_CBF_PASS(cbf_H5Dinsert(dset,off,std,cnt,buf,val,type));
{/* post-conditions */
CBF_CALL(cbf_H5Dread2(dset,off,std,cnt,valBuf,type));
if (CBF_SUCCESS==error) TEST(!cmp(val,valBuf,length
if (CBF_SUCCESS==error) {
#ifdef CBF_USE_ULP
,cmp_params
TEST(!cmp(val,valBuf,length,cmp_params));
#else
TEST(!cmp(val,valBuf,length));
#endif
));
}
}

return r;
Expand Down
4 changes: 4 additions & 0 deletions src/cbf_hdf5.c
Original file line number Diff line number Diff line change
Expand Up @@ -26460,6 +26460,10 @@ static int process_DiffrnScanAxisCache(cbf_node * const category,
const hsize_t max[] = {1};
const hsize_t cnk[] = {1};
hsize_t buf[] = {0};
#ifdef CBF_USE_ULP
cmp_double_param_t cmp_double_params;
void * cmp_params = &cmp_double_params;
#endif


if (!handle || !h5handle || !matrix) return CBF_ARGUMENT;
Expand Down