From b4b2133c309b4faccb9c43ac06d0590d604fd25e Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Wed, 30 Aug 2023 20:19:09 -0400 Subject: [PATCH] Fix error in chunk() method --- matlab/src/matlab/+arrow/+array/ChunkedArray.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/src/matlab/+arrow/+array/ChunkedArray.m b/matlab/src/matlab/+arrow/+array/ChunkedArray.m index b0997c5b2f422..57d8c73a88c5a 100644 --- a/matlab/src/matlab/+arrow/+array/ChunkedArray.m +++ b/matlab/src/matlab/+arrow/+array/ChunkedArray.m @@ -54,7 +54,7 @@ type = traits.TypeConstructor(proxy); end - function array = chunk(index) + function array = chunk(obj, index) [typeID, proxyID] = obj.Proxy.getChunk(index); traits = arrow.type.traits.traits(arrow.type.ID(typeID)); proxy = libmexclass.proxy.Proxy(Name=traits.ArrayProxyClassName, ID=proxyID);