From ed88115e6ab23c8ee6621cced2b8d73a0d8e8573 Mon Sep 17 00:00:00 2001 From: RangerUFO Date: Fri, 11 Oct 2024 18:55:06 +0800 Subject: [PATCH] Fix compilation error of the weights compression tool --- compression/compress_weights.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compression/compress_weights.cc b/compression/compress_weights.cc index 1ae400e..51897af 100644 --- a/compression/compress_weights.cc +++ b/compression/compress_weights.cc @@ -161,8 +161,8 @@ void CompressWeights(const Path& weights_path, printf("Compressing weights from %s to %s\n", weights_path.path.c_str(), compressed_weights_path.path.c_str()); - using CConfig = Configs::c; - using UCConfig = Configs::uc; + using CConfig = typename Configs::c; + using UCConfig = typename Configs::uc; // Allocate compressed weights. using CWeights = CompressedWeights; ByteStorageT c_weights_u8 = AllocateCompressedWeights()(pool);