back! must return a tuple
This commit is contained in:
parent
74e2551ee9
commit
6d0411f668
@ -46,7 +46,7 @@ function build_backward(Δs, x, params, temps)
|
||||
ex = tempify(Δs[:(self.$param)])
|
||||
thread!(back, @v(setfield!(:self, ksym, :(self.$k) + ex)))
|
||||
end
|
||||
thread!(back, tempify(Δs[x]))
|
||||
thread!(back, @flow(tuple($(tempify(Δs[x])))))
|
||||
cse(back)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user