Skip to content

Commit

Permalink
Fix error in chunk()
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Aug 31, 2023
1 parent b4b2133 commit 2b2037b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions matlab/src/matlab/+arrow/+array/ChunkedArray.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
end

function array = chunk(obj, index)
index = arrow.internal.validate.index.numeric(index, "int32");
[typeID, proxyID] = obj.Proxy.getChunk(index);
traits = arrow.type.traits.traits(arrow.type.ID(typeID));
proxy = libmexclass.proxy.Proxy(Name=traits.ArrayProxyClassName, ID=proxyID);
Expand Down

0 comments on commit 2b2037b

Please sign in to comment.