Skip to content

Commit 7810cf5

Browse files
authored
Generalize resizedata! for any input (#363)
1 parent ce9e9c1 commit 7810cf5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "LazyArrays"
22
uuid = "5078a376-72f3-5289-bfd5-ec5146d43c02"
3-
version = "2.5"
3+
version = "2.5.1"
44

55
[deps]
66
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"

src/cache.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ end
220220

221221
resizedata!(B::CachedArray, mn...) = resizedata!(MemoryLayout(B.data), MemoryLayout(B.array), B, mn...)
222222
resizedata!(B::AbstractCachedArray, mn...) = resizedata!(MemoryLayout(B.data), UnknownLayout(), B, mn...)
223-
resizedata!(A::AbstractArray, mn...) = A # don't do anything
223+
resizedata!(A, mn...) = A # don't do anything
224224
function resizedata!(A::AdjOrTrans, m, n)
225225
m 0 || resizedata!(parent(A), n)
226226
A

0 commit comments

Comments
 (0)