From 63919746533186f1bc82b7702916168a0f457c49 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Thu, 3 May 2018 17:04:33 +0200 Subject: [PATCH] use new broadcast machinery --- src/automatic_differentiation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/automatic_differentiation.jl b/src/automatic_differentiation.jl index 37741a6f..0c228ac1 100644 --- a/src/automatic_differentiation.jl +++ b/src/automatic_differentiation.jl @@ -455,7 +455,7 @@ function laplace(f::F, v) where F end const Δ = laplace -function Base.broadcast(::typeof(laplace), f::F, v::Vec{3}) where {F} +function Broadcast.broadcasted(::typeof(laplace), f::F, v::Vec{3}) where {F} @inbounds begin vdd = _load(_load(v)) res = f(vdd)