mstksg / backprop

Heterogeneous automatic differentiation ("backpropagation") in Haskell
https://backprop.jle.im
BSD 3-Clause "New" or "Revised" License
180 stars 22 forks source link

[wiki] Fix return type of sumElements #4

Closed stites closed 6 years ago

stites commented 6 years ago

Above Multiple-argument functions the function signatures of sumElements should be:

sumElements :: Reifies s W => BVar s (R n) -> BVar s Double

I tried to submit a PR to the wiki, but I don't think it's possible! I know that page is currently a work in progress, but this one might have slipped through.

mstksg commented 6 years ago

Thanks for the catch! This is my first time using github wiki's and I didn't realize that allowing non-collaborators to edit was opt-in. I think all users should be allowed to edit now!