This commit is contained in:
seshWCS 2023-08-27 01:08:38 +00:00
parent 62fe4e21c1
commit 887a4da6b3

View File

@ -98,6 +98,7 @@ UInt32 compressDataForType(const char * source, UInt32 source_size, char * dest)
{ {
gcd_divider = boost::math::gcd(gcd_divider, unalignedLoad<T>(cur_source)); gcd_divider = boost::math::gcd(gcd_divider, unalignedLoad<T>(cur_source));
} }
cur_source += sizeof(T);
} }
unalignedStore<T>(dest, gcd_divider); unalignedStore<T>(dest, gcd_divider);