Fix CompressStream call to use compressed variable

Replace hardcoded boolean with the `compressed` variable in CompressStream call to ensure correct compression behavior.
This commit is contained in:
Eric Coissac
2026-03-12 18:48:20 +01:00
parent 6ee8750635
commit 8dd32dc1bf

View File

@@ -64,7 +64,7 @@ func EmpiricalDistCsv(filename string, data [][]Ratio, compressed bool) {
fmt.Println(err) fmt.Println(err)
} }
destfile, err := obiutils.CompressStream(file, true, true) destfile, err := obiutils.CompressStream(file, compressed, true)
if err != nil { if err != nil {
fmt.Println(err) fmt.Println(err)
} }