219219 @test label (ad[Block (2 )]) == U1 (- 1 )
220220 @test label (ad[Block (2 )[1 : 1 ]]) == U1 (- 1 )
221221
222- v = ad[mortar ( [Block (2 )[1 : 1 ]]) ]
222+ v = ad[[Block (2 )[1 : 1 ]]]
223223 @test v isa AbstractVector{LabelledInteger{Int64,U1}}
224224 @test length (v) == 1
225225 @test label (first (v)) == U1 (- 1 )
@@ -228,16 +228,16 @@ end
228228 @test isdual (axes (v, 1 ))
229229 @test blocklabels (axes (v, 1 )) == [U1 (- 1 )]
230230
231- v = ad[[Block (2 )] ]
231+ v = ad[mortar ( [Block (2 )[ 1 : 1 ]]) ]
232232 @test v isa AbstractVector{LabelledInteger{Int64,U1}}
233- @test isdual (axes (v, 1 )) # used in view(::BlockSparseVector, [Block(1)])
233+ @test isdual (axes (v, 1 )) # used in view(::BlockSparseVector, [Block(1)[1:1] ])
234234 @test label (first (v)) == U1 (- 1 )
235235 @test unlabel (first (v)) == 3
236236 @test blocklabels (axes (v, 1 )) == [U1 (- 1 )]
237237
238- v = ad[mortar ( [Block (2 )[ 1 : 1 ]]) ]
238+ v = ad[[Block (2 )] ]
239239 @test v isa AbstractVector{LabelledInteger{Int64,U1}}
240- @test isdual (axes (v, 1 )) # used in view(::BlockSparseVector, [Block(1)[1:1] ])
240+ @test isdual (axes (v, 1 )) # used in view(::BlockSparseVector, [Block(1)])
241241 @test label (first (v)) == U1 (- 1 )
242242 @test unlabel (first (v)) == 3
243243 @test blocklabels (axes (v, 1 )) == [U1 (- 1 )]
0 commit comments