From 1a255984135603a0c846ea028beb7f6af16a802d Mon Sep 17 00:00:00 2001 From: Andrei Zhabinski Date: Sun, 9 Feb 2020 23:11:45 +0300 Subject: [PATCH] Remove .= again --- src/compile.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compile.jl b/src/compile.jl index 633fc5f..87f1994 100644 --- a/src/compile.jl +++ b/src/compile.jl @@ -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