Skip to content

Commit

Permalink
fix: don't overwrite is_option
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Jul 16, 2023
1 parent 80bbef0 commit 14c1e5f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libawkward/array/IndexedArray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1870,7 +1870,6 @@ namespace awkward {
}

if (IndexedArray32* raw = dynamic_cast<IndexedArray32*>(array.get())) {
is_option = false;
contents.push_back(raw->content());
Index32 array_index = raw->index();
struct Error err = kernel::IndexedArray_fill<int32_t, int64_t>(
Expand All @@ -1885,7 +1884,6 @@ namespace awkward {
length_so_far += array.get()->length();
}
else if (IndexedArrayU32* raw = dynamic_cast<IndexedArrayU32*>(array.get())) {
is_option = false;
contents.push_back(raw->content());
IndexU32 array_index = raw->index();
struct Error err = kernel::IndexedArray_fill<uint32_t, int64_t>(
Expand All @@ -1900,7 +1898,6 @@ namespace awkward {
length_so_far += array.get()->length();
}
else if (IndexedArray64* raw = dynamic_cast<IndexedArray64*>(array.get())) {
is_option = false;
contents.push_back(raw->content());
Index64 array_index = raw->index();
struct Error err = kernel::IndexedArray_fill<int64_t, int64_t>(
Expand Down

0 comments on commit 14c1e5f

Please sign in to comment.