Skip to content

Commit 9b2ef53

Browse files
committed
Delete materialize! for XStyle
1 parent b6a3348 commit 9b2ef53

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/DAT/broadcast.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff 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))
3526
end

test/DAT/broadcast.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,4 @@ end
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]
7671
end

0 commit comments

Comments
 (0)