Skip to content

Commit 777a1fc

Browse files
authored
Speed up BlockInterlacer (#294)
1 parent 1c67da4 commit 777a1fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ApproxFunBase"
22
uuid = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
3-
version = "0.7.41"
3+
version = "0.7.42"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"

src/Spaces/ArraySpace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Vector(sp::VectorSpace) = convert(Vector, sp.spaces)
3232
Matrix(sp::MatrixSpace) = convert(Matrix, sp.spaces)
3333

3434

35-
BlockInterlacer(sp::ArraySpace) = BlockInterlacer(blocklengths.(tuple(sp.spaces...)))
35+
BlockInterlacer(sp::ArraySpace) = BlockInterlacer(map(blocklengths, Tuple(sp.spaces)))
3636
interlacer(sp::ArraySpace) = BlockInterlacer(sp)
3737

3838
for OP in (:length,:firstindex,:lastindex,:size)

0 commit comments

Comments
 (0)