Skip to content

Commit

Permalink
Revert "Define dataids for PseudoBlockArrays" (#370)
Browse files Browse the repository at this point in the history
* Revert "Define dataids for PseudoBlockArrays (#364)"

This reverts commit d4939b3.

* Test against LazyBandedMatrices
  • Loading branch information
jishnub authored Mar 31, 2024
1 parent 8b0c8e4 commit abea9fa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
package:
- {repo: BlockBandedMatrices.jl, group: JuliaLinearAlgebra}
- {repo: ApproxFunBase.jl, group: JuliaApproximation}
- {repo: LazyBandedMatrices.jl, group: JuliaLinearAlgebra}
# - {repo: InfiniteLinearAlgebra.jl, group: JuliaLinearAlgebra}

steps:
Expand Down
2 changes: 0 additions & 2 deletions src/pseudo_blockarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ AbstractArray{T,N}(A::PseudoBlockArray) where {T,N} = PseudoBlockArray(AbstractA

copy(A::PseudoBlockArray) = PseudoBlockArray(copy(A.blocks), A.axes)

Base.dataids(A::PseudoBlockArray) = (Base.dataids(A.blocks)..., mapreduce(Base.dataids, (x,y) -> (x..., y...), A.axes)...)

###########################
# AbstractArray Interface #
###########################
Expand Down
3 changes: 0 additions & 3 deletions test/test_blockarrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,6 @@ end
fill!(q2, 0)
copyto!(q2, view(BA_1, Block(1)))
@test q2 == q

@test Base.mightalias(BA_1, view(BA_1, Block(1,1)))
@test Base.mightalias(BA_1, axes(BA_1, 1))
end
fill!(BA_1, 1.0)
@test BA_1 == ones(size(BA_1))
Expand Down

0 comments on commit abea9fa

Please sign in to comment.