File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed
Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,4 @@ function Base.materialize(bc::Broadcast.Broadcasted{XStyle})
2323 outtype = Union{outtypes... }
2424 @debug outtype
2525 return xmap(XFunction(bc. f; inplace= false ), args2... , output= XOutput(; outtype))
26- end
27- function Base. materialize!(bc:: Broadcast.Broadcasted{XStyle} )
28- args2 = map(arg -> arg isa Broadcast. Broadcasted ? Base. materialize(arg) : arg, bc. args)
29- args2 = map(to_yax, args2)
30- intypes = (eltype.(args2). .. ,)
31- @debug intypes
32- outtypes = Base. return_types(bc. f, intypes)
33- outtype = promote_type{outtypes... }
34- return xmap(XFunction(bc. f; inplace= true ), args2... , output= XOutput(; outtype))
3526end
Original file line number Diff line number Diff line change 6868 @test eltype(aeq) == Union{Missing, Bool}
6969 @test ismissing(aeq[1 ,1 ])
7070 @test aeq[1 ,2 ]
71- aeq2 = similar(aeq)
72- aeq2 .= am .== am
73- @test eltype(aeq2) == Union{Missing, Bool}
74- @test ismissing(aeq2[1 ,1 ])
75- @test aeq2[2 ,2 ]
7671end
You can’t perform that action at this time.
0 commit comments