Skip to content

Commit 68704a7

Browse files
authored
Fix spaces in certain docstrings (#314)
1 parent ab51dbe commit 68704a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/blockaxis.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ _diff(a::Tuple) = diff(collect(a))
7979
length(a::BlockedUnitRange) = isempty(a.lasts) ? 0 : Integer(last(a.lasts)-a.first+1)
8080

8181
"""
82-
blockisequal(a::AbstractUnitRange{Int}, b::AbstractUnitRange{Int})
82+
blockisequal(a::AbstractUnitRange{Int}, b::AbstractUnitRange{Int})
8383
8484
Check if `a` and `b` have the same block structure.
8585
@@ -110,7 +110,7 @@ false
110110
blockisequal(a::AbstractUnitRange{Int}, b::AbstractUnitRange{Int}) = first(a) == first(b) && blocklasts(a) == blocklasts(b)
111111
blockisequal(a, b, c, d...) = blockisequal(a,b) && blockisequal(b,c,d...)
112112
"""
113-
blockisequal(a::Tuple, b::Tuple)
113+
blockisequal(a::Tuple, b::Tuple)
114114
115115
Return `all(blockisequal.(a,b))``
116116
"""
@@ -334,7 +334,7 @@ function findblock(b::AbstractUnitRange{Int}, k::Integer)
334334
end
335335

336336
"""
337-
blockfirsts(a::AbstractUnitRange{Int})
337+
blockfirsts(a::AbstractUnitRange{Int})
338338
339339
Return the first index of each block of `a`.
340340
@@ -360,7 +360,7 @@ julia> blockfirsts(b)
360360
"""
361361
blockfirsts(a::AbstractUnitRange{Int}) = Ones{Int}(1)
362362
"""
363-
blocklasts(a::AbstractUnitRange{Int})
363+
blocklasts(a::AbstractUnitRange{Int})
364364
365365
Return the last index of each block of `a`.
366366
@@ -386,7 +386,7 @@ julia> blocklasts(b)
386386
"""
387387
blocklasts(a::AbstractUnitRange{Int}) = Fill(length(a),1)
388388
"""
389-
blocklengths(a::AbstractUnitRange{Int})
389+
blocklengths(a::AbstractUnitRange{Int})
390390
391391
Return the length of each block of `a`.
392392

0 commit comments

Comments
 (0)