Skip to content

Commit 864966d

Browse files
authored
Merge pull request #2219 from davidbrochart/fix_resize
Fix call to resize of chunk container
2 parents d28e14c + f6a346b commit 864966d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/xtensor/xchunked_array.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ namespace xt
273273
template <class S1, class S2>
274274
static void resize(E& chunks, const S1& container_shape, const S2& chunk_shape, layout_type chunk_memory_layout)
275275
{
276-
chunks.resize(container_shape, chunk_shape, chunk_memory_layout);
276+
chunks.resize(container_shape);
277277
}
278278
};
279279

0 commit comments

Comments
 (0)