catmat fix
This commit is contained in:
parent
d1bf158565
commit
019e34194d
@ -15,7 +15,7 @@ size(b::CatMat) = (size(b.data, 1),)
|
||||
|
||||
getindex(b::CatMat, i)::eltype(b) = slicedim(b.data, 1, i)
|
||||
|
||||
setindex!(b::CatMat, v, i) = b[i, :] = v
|
||||
setindex!(b::CatMat, v, i) = b.data[i, :] = v
|
||||
|
||||
allequal(xs) = all(x -> x == first(xs), xs)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user