Changeset 9ee2ce3 for thirdparty/SZ/sz/src/sz_int16.c
- Timestamp:
- 09/28/18 16:32:55 (6 years ago)
- Branches:
- master, pympi
- Children:
- e6aa0eb
- Parents:
- abca157
- git-author:
- Hal Finkel <hfinkel@…> (09/28/18 16:32:55)
- git-committer:
- Hal Finkel <hfinkel@…> (09/28/18 16:32:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
thirdparty/SZ/sz/src/sz_int16.c
r2c47b73 r9ee2ce3 22 22 #include "TightDataPointStorageI.h" 23 23 #include "sz_int16.h" 24 #include "utility.h" 24 25 25 26 unsigned int optimize_intervals_int16_1D(int16_t *oriData, size_t dataLength, double realPrecision) … … 267 268 pred = last3CmprsData[0]; 268 269 predAbsErr = llabs(curData - pred); 269 if(predAbsErr< =checkRadius)270 if(predAbsErr<checkRadius) 270 271 { 271 272 state = (predAbsErr/realPrecision+1)/2; … … 1370 1371 else if(confparams_cpr->szMode==SZ_BEST_COMPRESSION || confparams_cpr->szMode==SZ_DEFAULT_COMPRESSION) 1371 1372 { 1372 *outSize = zlib_compress5(tmpByteData, tmpOutSize, newByteData, confparams_cpr->gzipMode);1373 *outSize = sz_lossless_compress(confparams_cpr->losslessCompressor, confparams_cpr->gzipMode, tmpByteData, tmpOutSize, newByteData); 1373 1374 free(tmpByteData); 1374 1375 }
Note: See TracChangeset
for help on using the changeset viewer.