From f7855251eaae3b58e6e9a524d424f9be2f038cd4 Mon Sep 17 00:00:00 2001 From: RangerUFO Date: Fri, 21 Jun 2024 13:40:40 +0800 Subject: [PATCH] Fix compilation errors in clang It will occur in `ubuntu-latest` of GitHub Actions. --- gemma/weights.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemma/weights.h b/gemma/weights.h index d69f61a..c0c33c8 100644 --- a/gemma/weights.h +++ b/gemma/weights.h @@ -232,7 +232,7 @@ void LogWeightStats(Model model, Type weight_type, const ByteStorageT& weights); template void ForEachTensor(RawWeightsPtr raw_weights, CompressedWeights& c_weights, Func& func) { - constexpr bool kHaveRaw = !hwy::IsSame(); + constexpr bool kHaveRaw = !hwy::IsSame(); GEMMA_CALL_TOP_FUNC("c_embedding", embedder_input_embedding); GEMMA_CALL_TOP_FUNC("c_final_norm", final_norm_scale);