Przeglądaj źródła

llama : fix try_override for bool_value which always return true (#4519)

hankcs 2 lat temu
rodzic
commit
3c04bf6da8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      llama.cpp

+ 1 - 1
llama.cpp

@@ -1937,7 +1937,7 @@ namespace GGUFMeta {
                 target = override->bool_value;
                 return true;
             }
-            return true;
+            return false;
         }
 
         template<typename OT>