Skip to content

Commit

Permalink
Remove .= again
Browse files Browse the repository at this point in the history
  • Loading branch information
dfdx committed Feb 9, 2020
1 parent 2d05c74 commit 1a25598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ end
function Espresso.to_expr(op::Call)
arg_names = map(make_name, op.args)
call = Expr(:call, op.fn, arg_names...)
assign = ((op.val isa Array || is_cuarray(op.val)) && op.fn == broadcast) ? :(.=) : :(=)
# assign = :(=)
# assign = ((op.val isa Array || is_cuarray(op.val)) && op.fn == broadcast) ? :(.=) : :(=)
assign = :(=)
return Expr(assign, make_name(op.id), call)
end

Expand Down

0 comments on commit 1a25598

Please sign in to comment.