Skip to content

Commit

Permalink
remove print in H5Z_SZ.c
Browse files Browse the repository at this point in the history
  • Loading branch information
disheng222 committed Apr 3, 2021
1 parent f01fe99 commit c30cb79
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hdf5-filter/H5Z-SZ/src/H5Z_SZ.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,19 +581,18 @@ static size_t H5Z_filter_sz(unsigned int flags, size_t cd_nelmts, const unsigned
}
else if(dataType == SZ_DOUBLE)//==1
{
printf("Executing .... dobuleType == SZ_DOUBLE\n");
double* data = (double*)(*buf);
unsigned char *bytes = NULL;
if(withErrInfo)
{
if(error_mode == PSNR)
confparams_cpr->psnr = psnr;
printf("dataType=%d, error_mode=%d, abs_err=%f, rel_err=%f\n", dataType, error_mode, abs_error, rel_error);
//printf("dataType=%d, error_mode=%d, abs_err=%f, rel_err=%f\n", dataType, error_mode, abs_error, rel_error);
bytes = SZ_compress_args(dataType, data, &outSize, error_mode, abs_error, rel_error, pw_rel_error, r5, r4, r3, r2, r1);
}
else
{
printf("....\n");
//printf("....\n");
bytes = SZ_compress(dataType, data, &outSize, r5, r4, r3, r2, r1);
}
free(*buf);
Expand Down

0 comments on commit c30cb79

Please sign in to comment.