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 0914944 commit eabbf50Copy full SHA for eabbf50
src/blockedtuple.jl
@@ -51,7 +51,7 @@ end
51
52
# BlockArrays interface
53
function BlockArrays.blockfirsts(bt::AbstractBlockTuple)
54
- return (0, cumsum(blocklengths(bt)[begin:(end - 1)])...) .+ 1
+ return (0, cumsum(Base.front(blocklengths(bt)))...) .+ 1
55
end
56
57
function BlockArrays.blocklasts(bt::AbstractBlockTuple)
0 commit comments