We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f3eb3e commit e5277aaCopy full SHA for e5277aa
runtime/executor/merged_data_map.h
@@ -114,7 +114,7 @@ class MergedDataMap final : public NamedDataMap {
114
ET_NODISCARD Result<const char*> get_key(uint32_t index) const override {
115
uint32_t total_num_keys = get_num_keys().get();
116
ET_CHECK_OR_RETURN_ERROR(
117
- index >= 0 && index < total_num_keys,
+ index < total_num_keys,
118
InvalidArgument,
119
"Index %" PRIu32 " out of range of size %" PRIu32,
120
index,
0 commit comments