Skip to content

Commit bb86364

Browse files
authored
Remove extraneous quotes in docstrings (#457)
* Remove extraneous quotes in docstrings * remove quotes for FixedSparseVector
1 parent 0f8bbda commit bb86364

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/sparsematrix.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Creates an empty sparse matrix with element type `Tv` and integer type `Ti` of s
5555
SparseMatrixCSC{Tv,Ti}(::UndefInitializer, m::Integer, n::Integer) where {Tv, Ti} = spzeros(Tv, Ti, m, n)
5656

5757
"""
58-
`FixedSparseCSC{Tv,Ti<:Integer} <: AbstractSparseMatrixCSC{Tv,Ti}`
58+
FixedSparseCSC{Tv,Ti<:Integer} <: AbstractSparseMatrixCSC{Tv,Ti}
5959
6060
Experimental AbstractSparseMatrixCSC whose non-zero index are fixed.
6161
"""
@@ -94,21 +94,21 @@ FixedSparseCSC{Tv,Ti}(x::AbstractSparseMatrixCSC) where {Tv,Ti} =
9494
getcolptr(x), rowvals(x), nonzeros(x))
9595

9696
"""
97-
`fixed(x...)`
97+
fixed(x...)
9898
9999
Experimental. Like `sparse` but returns a sparse array whose `_is_fixed` is `true`.
100100
"""
101101
fixed(x...) = move_fixed(sparse(x...))
102102
fixed(x::AbstractSparseMatrixCSC) = FixedSparseCSC(x)
103103

104104
"""
105-
`move_fixed(x::AbstractSparseMatrixCSC)`
105+
move_fixed(x::AbstractSparseMatrixCSC)
106106
107107
Experimental, unsafe. Make a `FixedSparseCSC` by reusing the colptr, rowvals and nonzeros of `x`.
108108
"""
109109
move_fixed(x::AbstractSparseMatrixCSC) = FixedSparseCSC(size(x)..., getcolptr(x), rowvals(x), nonzeros(x))
110110
"""
111-
`_unsafe_unfix(x)`
111+
_unsafe_unfix(x)
112112
113113
Experimental, unsafe. Returns a modifiable version of `x` for compatibility with this codebase.
114114
"""
@@ -118,7 +118,7 @@ _unsafe_unfix(x::SparseMatrixCSC) = x
118118
const SorF = Union{<:SparseMatrixCSC, <:FixedSparseCSC}
119119

120120
"""
121-
`SparseMatrixCSC(x::FixedSparseCSC)`
121+
SparseMatrixCSC(x::FixedSparseCSC)
122122
123123
Get a writable copy of x. See `_unsafe_unfix(x)`
124124
"""

src/sparsevector.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ SparseVector(n::Integer, nzind::Vector{Ti}, nzval::Vector{Tv}) where {Tv,Ti} =
5252
SparseVector{Tv, Ti}(::UndefInitializer, n::Integer) where {Tv, Ti} = SparseVector{Tv, Ti}(n, Ti[], Tv[])
5353

5454
"""
55-
`FixedSparseVector{Tv,Ti<:Integer} <: AbstractCompressedVector{Tv,Ti}`
55+
FixedSparseVector{Tv,Ti<:Integer} <: AbstractCompressedVector{Tv,Ti}
5656
5757
Experimental AbstractCompressedVector whose non-zero index are fixed.
5858
"""

0 commit comments

Comments
 (0)