Skip to content

Commit b3f3e21

Browse files
theogfwilltebbutt
andauthored
Apply suggestions from code review
Co-Authored-By: willtebbutt <[email protected]>
1 parent e50d37f commit b3f3e21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/utils.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ end
2525
ColVecs(X::AbstractMatrix)
2626
2727
A lightweight wrapper for an `AbstractMatrix` to make it behave like a vector of vectors.
28-
Each vector represents a colum of the matrix
28+
Each vector represents a column of the matrix
2929
"""
30-
struct ColVecs{T, TX<:AbstractMatrix{T}, S} <: AbstractVector{S} # VecOfVecs{T, TX, S}
30+
struct ColVecs{T, TX<:AbstractMatrix{T}, S} <: AbstractVector{S}
3131
X::TX
3232
function ColVecs(X::TX) where {T, TX<:AbstractMatrix{T}}
3333
S = typeof(view(X, :, 1))
@@ -45,7 +45,7 @@ Base.getindex(D::ColVecs, i) = ColVecs(view(D.X, :, i))
4545
A lightweight wrapper for an `AbstractMatrix` to make it behave like a vector of vectors.
4646
Each vector represents a row of the matrix
4747
"""
48-
struct RowVecs{T, TX<:AbstractMatrix{T}, S} <: AbstractVector{S} # VecOfVecs{T, TX, S}
48+
struct RowVecs{T, TX<:AbstractMatrix{T}, S} <: AbstractVector{S}
4949
X::TX
5050
function RowVecs(X::TX) where {T, TX<:AbstractMatrix{T}}
5151
S = typeof(view(X, 1, :))

0 commit comments

Comments
 (0)