andybbruno / TSXor

TSXor: A Simple Time Series Compression Algorithm
51 stars 5 forks source link

After Decompression, the data is different from original value #5

Open lrg11 opened 1 year ago

lrg11 commented 1 year ago

Hello, I got some error when I read data from the binary file, after compression and decompression, some value is different from original file. Below is my program and some running info image test-tsxor.txt

lrg11 commented 1 year ago

Oh, I can run it well sometimes, maybe it is related to the compiler option. As I now don't use -O3, it gets right.