Skip to content

Commit

Permalink
add 1D random access
Browse files Browse the repository at this point in the history
  • Loading branch information
Xin Liang authored and Xin Liang committed Dec 26, 2018
1 parent aaa1e0e commit 62fb062
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sz/src/sz_float.c
Original file line number Diff line number Diff line change
Expand Up @@ -7008,6 +7008,7 @@ unsigned char * SZ_compress_float_1D_MDQ_decompression_random_access_with_blocke
// use the buffer as block_size
for(int ii=0; ii<block_size; ii++){
*pred_buffer_pos = *block_data_pos_x;
pred_buffer_pos ++;
if(i*block_size + ii + 1 < r1) block_data_pos_x ++;
}
/*Calculate regression coefficients*/
Expand Down

0 comments on commit 62fb062

Please sign in to comment.