Skip to content

Commit 782ec5b

Browse files
committed
bad identifier name
1 parent d68f4a5 commit 782ec5b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

gpttype_adapter.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2333,14 +2333,14 @@ ModelLoadResult gpttype_load_model(const load_model_inputs inputs, FileFormat in
23332333
}
23342334
}
23352335
printf("\n\n");
2336-
for (const auto & override : string_split<std::string>(tensoroverrides, ',')) {
2337-
std::string::size_type pos = override.find('=');
2336+
for (const auto & overrider : string_split<std::string>(tensoroverrides, ',')) {
2337+
std::string::size_type pos = overrider.find('=');
23382338
if (pos == std::string::npos) {
2339-
printf("\nInvalid Override Tensor: %s\n",override.c_str());
2339+
printf("\nInvalid Override Tensor: %s\n",overrider.c_str());
23402340
continue;
23412341
}
2342-
std::string tensor_name = override.substr(0, pos);
2343-
std::string buffer_type = override.substr(pos + 1);
2342+
std::string tensor_name = overrider.substr(0, pos);
2343+
std::string buffer_type = overrider.substr(pos + 1);
23442344

23452345
if (buft_list.find(buffer_type) == buft_list.end()) {
23462346
printf("\nUnknown Buffer Type: %s\n",buffer_type.c_str());

0 commit comments

Comments
 (0)