/ concept-collection / benchcompress
Sign in
concept-collection / benchcompress
fix zstd markov
Jeremy Magland <jmagland@flatironinstitute.org> committed commit 81827a4f9238 parent 8affd71 Browse files
1 changed file+1−1
zia_benchmark/src/zia_benchmark/algorithms/zstd/__init__.pymodified+1−1View file
@@ -79,7 +79,7 @@ def zstd_markov_decode(x: bytes, dtype: str) -> np.ndarray:
7979
8080 # Extract coefficients and initial values
8181 pos = header_size
82- coeffs = np.frombuffer(x[pos : pos + coeffs_len], dtype=np.float64)
82+ coeffs = np.frombuffer(x[pos : pos + coeffs_len], dtype=np.float32)
8383 pos += coeffs_len
8484 initial = np.frombuffer(x[pos : pos + initial_len], dtype=dtype)
8585 pos += initial_len
moveopenescclose