Skip to content

Commit 2caed29

Browse files
committed
Fix reshape
1 parent 979479a commit 2caed29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_xchunk_store_manager.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ namespace xt
143143
std::string chunk_dir2 = "files5";
144144
fs::create_directory(chunk_dir2);
145145
auto a2 = chunked_file_array<double, xio_disk_handler<xio_binary_config>>(shape, chunk_shape, chunk_dir2);
146-
auto a3 = arange(4 * 4).reshape({4, 4});
146+
auto a3 = arange(4 * 4);
147+
a3.reshape({4, 4});
147148
a2 = a3;
148149
a2.chunks().flush();
149150
// check that a2 has correct chunks

0 commit comments

Comments
 (0)