Skip to content

Commit

Permalink
fix a bug in omp version: inconsistent type for error bound in compre…
Browse files Browse the repository at this point in the history
…ssion/decompression
  • Loading branch information
Xin Liang authored and Xin Liang committed Jul 16, 2021
1 parent f937952 commit c498893
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sz/include/szd_float.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ size_t decompressDataSeries_float_2D_RA_block(float * data, float mean, size_t d

int SZ_decompress_args_float(float** newData, size_t r5, size_t r4, size_t r3, size_t r2, size_t r1, unsigned char* cmpBytes, size_t cmpSize, int compressionType, float* hist_data);

size_t decompressDataSeries_float_3D_RA_block(float * data, float mean, size_t dim_0, size_t dim_1, size_t dim_2, size_t block_dim_0, size_t block_dim_1, size_t block_dim_2, double realPrecision, int * type, float * unpredictable_data);
size_t decompressDataSeries_float_3D_RA_block(float * data, float mean, size_t dim_0, size_t dim_1, size_t dim_2, size_t block_dim_0, size_t block_dim_1, size_t block_dim_2, float realPrecision, int * type, float * unpredictable_data);

void decompressDataSeries_float_1D_decompression_given_areas_with_blocked_regression(float** data, size_t r1, size_t s1, size_t e1, unsigned char* comp_data);

Expand Down
2 changes: 1 addition & 1 deletion sz/src/szd_float.c
Original file line number Diff line number Diff line change
Expand Up @@ -2845,7 +2845,7 @@ void getSnapshotData_float_4D(float** data, size_t r1, size_t r2, size_t r3, siz
}
}

size_t decompressDataSeries_float_3D_RA_block(float * data, float mean, size_t dim_0, size_t dim_1, size_t dim_2, size_t block_dim_0, size_t block_dim_1, size_t block_dim_2, double realPrecision, int * type, float * unpredictable_data){
size_t decompressDataSeries_float_3D_RA_block(float * data, float mean, size_t dim_0, size_t dim_1, size_t dim_2, size_t block_dim_0, size_t block_dim_1, size_t block_dim_2, float realPrecision, int * type, float * unpredictable_data){
int intvRadius = exe_params->intvRadius;
size_t dim0_offset = dim_1 * dim_2;
size_t dim1_offset = dim_2;
Expand Down

0 comments on commit c498893

Please sign in to comment.