mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-26 15:15:16 +02:00
Fix linker error for kcpp_permit_any_repack (#2210)
Fixes `gpttype_adapter.lib(gpttype_adapter.obj) : error LNK2019: unresolved external symbol "int kcpp_permit_any_repack"` It's a `bool`, not an `int`
This commit is contained in:
+1
-1
@@ -172,7 +172,7 @@ static std::map<int,std::vector<int>> antislop_banned_token_ids; //first is the
|
||||
static int savestate_limit = 0;
|
||||
static std::vector<savestate_data> savestates;
|
||||
|
||||
extern int kcpp_permit_any_repack;
|
||||
extern bool kcpp_permit_any_repack;
|
||||
|
||||
inline int kcpp_cpu_has_blas(void) {
|
||||
#if defined(GGML_USE_BLAS) || defined(GGML_USE_CUDA) || defined(GGML_USE_VULKAN) || defined(GGML_USE_SYCL)
|
||||
|
||||
Reference in New Issue
Block a user