update for flow

This commit is contained in:
Mike J Innes 2016-10-25 22:28:30 +01:00
parent 734b77e5eb
commit 10761a4bee
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ function build_backward(body, x, params = [])
haskey(Δs, :(self.$param)) || continue
ex = Δs[:(self.$param)]
ex = deref_params(ex)
thread!(back, @dvertex(accumulate!(:(self.$param), ex)))
thread!(back, @vtx(accumulate!(:(self.$param), ex)))
end
ex = Δs[x]
ex = deref_params(ex)