Skip to content

Commit

Permalink
use new broadcast machinery
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed May 3, 2018
1 parent 939ad83 commit 6391974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/automatic_differentiation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6391974

Please sign in to comment.