We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e536233 commit f1d0433Copy full SHA for f1d0433
src/utils.jl
@@ -53,6 +53,7 @@ end
53
54
Base.size(D::RowVecs) = (size(D.X, 1),)
55
Base.getindex(D::RowVecs, i::Int) = view(D.X, i, :)
56
+Base.getindex(D::ColVecs, i::CartesianIndex{1}) = view(D.X, i, :)
57
Base.getindex(D::RowVecs, i) = RowVecs(view(D.X, i, :))
58
59
# Take highest Float among possibilities
0 commit comments