From 594279cb0c0dd75c50a3bc7a97b4b6ae469f4698 Mon Sep 17 00:00:00 2001 From: Jiahao Li Date: Thu, 25 Jul 2024 10:57:18 +0800 Subject: [PATCH] Fix MANIFEST --- MANIFEST.in | 4 ++++ chatglm.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index feae2cb..968f3a6 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -20,3 +20,7 @@ graft third_party/re2 # absl graft third_party/abseil-cpp + +# stb +include third_party/stb/stb_image.h +include third_party/stb/stb_image_resize2.h diff --git a/chatglm.h b/chatglm.h index 6f0d5e3..bc91024 100644 --- a/chatglm.h +++ b/chatglm.h @@ -354,8 +354,6 @@ struct Image { Image resize(size_t new_width, size_t new_height) const; - bool empty() const { return pixels.empty(); } - void clear() { width = height = channels = 0; pixels.clear();