Skip to content

Commit 05b76ad

Browse files
authored
Fix OneElement constructor docstring (#386)
1 parent 9868632 commit 05b76ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oneelement.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ OneElement{T}(val, inds::NTuple{N,Int}, sz::NTuple{N,Integer}) where {T,N} = One
3434
OneElement{T}(val, inds::Int, sz::Int) where T = OneElement{T}(val, (inds,), (sz,))
3535

3636
"""
37-
OneElement{T}(val, ind::Int, n::Int)
37+
OneElement{T}(ind::Int, n::Int)
3838
3939
Creates a length `n` vector where the `ind` entry is equal to `one(T)`, and all other entries are zero.
4040
"""

0 commit comments

Comments
 (0)