We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b58d81 commit 6cf6d8fCopy full SHA for 6cf6d8f
test/basic_indexing.jl
@@ -250,6 +250,10 @@ foo!(u_matrix)
250
foo!(u_vector)
251
@test u_matrix ≈ u_vector
252
253
+# test that, for VectorOfArray with multi-dimensional parent arrays,
254
+# `similar` preserves the structure of the parent array
255
+@test typeof(parent(similar(u_matrix))) == typeof(parent(u_matrix))
256
+
257
# test efficiency
258
num_allocs = @allocations foo!(u_matrix)
259
@test num_allocs == 0
0 commit comments