Skip to content

Commit f1d0433

Browse files
committed
Missing function for RowVecs
1 parent e536233 commit f1d0433

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ end
5353

5454
Base.size(D::RowVecs) = (size(D.X, 1),)
5555
Base.getindex(D::RowVecs, i::Int) = view(D.X, i, :)
56+
Base.getindex(D::ColVecs, i::CartesianIndex{1}) = view(D.X, i, :)
5657
Base.getindex(D::RowVecs, i) = RowVecs(view(D.X, i, :))
5758

5859
# Take highest Float among possibilities

0 commit comments

Comments
 (0)