Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions compression/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ struct NuqStream {
// smaller size (table amortized over more weights).
static constexpr size_t kGroupSize = 256;

#pragma pack(pop)
// Storage for dynamic programming. There are two matrices; we use separate
// allocations to avoid type punning.
template <class T>
Expand Down Expand Up @@ -200,6 +201,7 @@ struct NuqStream {
AlignedMatrix<float> costs;
AlignedMatrix<int32_t> argmin;
};
#pragma pack(push, 1)

// Returns offset of packed indices from the start of the stream. This matches
// the (padded) total table size because table entries are bytes.
Expand Down
Loading